Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 12.0   12.1   12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3    Statistic    FMM    Blog  


Queries device token.

Component Version macOS Windows Linux Server iOS SDK
UNNotification 7.2 ✅ Yes ❌ No ❌ No ❌ No ✅ Yes
MBS( "UNNotification.RemoteNotificationsDeviceToken" )




Returns text.


Queries device token.
If the registration for remote notifications is successful, this function will return the hex encoded device token. You can pass the device token to your server sending the push notifications.
Text is empty if registration failed.
e.g. "416204F694DA65CC1AFD9E473C7E44C22DD66B61FD4DA61B255A89EE436B6F61"

See UNNotification.RemoteNotificationsError for the reason. Push notifications are not supported in iOS


Show device token:

Show Custom Dialog ["Device Token"; MBS("UNNotification.RemoteNotificationsDeviceToken")]

See also

Blog Entries

This function checks for a paid license.

Created 15th April 2017, last changed 7th June 2017

UNNotification.ReleaseAll - UNNotification.RemoteNotificationsError

💬 Ask a question or report a problem

Start Chat