Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
UNNotification.RemoteNotificationsDeviceToken
Queries device token.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
UNNotification | 7.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |
MBS( "UNNotification.RemoteNotificationsDeviceToken" )
Parameters
none
Result
Returns text.
Description
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
Simulator!
Examples
Show device token:
Show Custom Dialog ["Device Token"; MBS("UNNotification.RemoteNotificationsDeviceToken")]
See also
Blog Entries
- Schedule Notifications with MBS Plugin in iOS
- Push Notifications for FileMaker iOS SDK
- Remote Notifications for FileMaker iOS SDK
This function is free to use.
Created 15th April 2017, last changed 7th June 2017
UNNotification.ReleaseAll - UNNotification.RemoteNotificationsError