-
Notifications
You must be signed in to change notification settings - Fork 19
How do I get Infobip's unique (push registration) ID?
Olga Koroleva edited this page Dec 20, 2021
·
4 revisions
In order to get Infobip's unique push registration identifier issued by the server you need to implement the following code:
val pushRegistrationId = MobileMessaging.getInstance(context).installation.pushRegistrationIdexpand to see Java code
String pushRegistrationId = MobileMessaging.getInstance(Context).getInstallation().getPushRegistrationId();This identifier:
- matches one to one with FCM(HMS) cloud token of the particular application installation
- is only available after REGISTRATION_CREATED event
- does not change for the whole lifetime of the application installation
If you have any questions or suggestions, feel free to send an email to support@infobip.com or create an issue.