Support Forum

Ask questions and get help from MobileTogether experts.
MobileTogether Product Information
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
View
Go to last post Go to first unread
Yannic  
#1 Posted : Monday, July 25, 2022 9:56:31 AM(UTC)
Yannic

Rank: Member

Groups: Registered
Joined: 11/21/2018(UTC)
Posts: 27

Thanks: 6 times
Hello,

i want to use the push-notification-action in one of my apps.
I can easily use it when adressing the message to a normal server-user, however i dont know how to phrase the "user"-string of an domain user.

When the user is called "Doe, John (jdoe@domain)", ive already tried:
- Doe, John (jdoe@domain)
- jdoe
- jdoe@domain
- Doe, John

But i recieved no message with any of these.
AFC  
#2 Posted : Tuesday, July 26, 2022 1:20:00 PM(UTC)
AFC

Rank: Administration

Groups: Registered, Administrators
Joined: 9/15/2014(UTC)
Posts: 126
Austria

Was thanked: 17 time(s) in 17 post(s)
Hi Yannic!

Unfortunately, this is currently not possible but we work on it.

In the meantime maybe you can use a workaround via registering external push notification keys?
I.e. when one starts the solution the first time, it automatically registers a key (which can also be $MT_UserName) and starting from then, this user/mobile can get push notifications for this solution.
thanks 1 user thanked AFC for this useful post.
Yannic on 7/27/2022(UTC)
Yannic  
#3 Posted : Tuesday, July 26, 2022 3:38:08 PM(UTC)
Yannic

Rank: Member

Groups: Registered
Joined: 11/21/2018(UTC)
Posts: 27

Thanks: 6 times
Thank you for this workaround!
Is there a way to read what key is set on a device?
AFC  
#4 Posted : Tuesday, July 26, 2022 3:53:08 PM(UTC)
AFC

Rank: Administration

Groups: Registered, Administrators
Joined: 9/15/2014(UTC)
Posts: 126
Austria

Was thanked: 17 time(s) in 17 post(s)
Hi

if you use "$MT_UserName" as suggested, the key will be the logged in user (e.g. "jdoe@domain")!?
But you can also specify any other key you want to (e.g. a random number, which you create on very first startup and save locally).
Yannic  
#5 Posted : Wednesday, July 27, 2022 7:18:56 AM(UTC)
Yannic

Rank: Member

Groups: Registered
Joined: 11/21/2018(UTC)
Posts: 27

Thanks: 6 times
I meant if there is a way to display the set key, like is there something like "$MT_PN_Device_Key" to work with outside the register/unregister action.
AFC  
#6 Posted : Wednesday, July 27, 2022 7:55:20 AM(UTC)
AFC

Rank: Administration

Groups: Registered, Administrators
Joined: 9/15/2014(UTC)
Posts: 126
Austria

Was thanked: 17 time(s) in 17 post(s)
Well - you register the key, so you will know what you registered (but there is no built-in possibility to get what you registered on the server).
If you use "$MT_UserName" as key, of course you can also show this somewhere, but that's only from your device - not from all others!?

Maybe it helps to explain in more detail what you want to do?
Users browsing this topic
Guest (2)
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.