-
Notifications
You must be signed in to change notification settings - Fork 17
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.pushRegistrationId
expand 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.
- Library events
- Server errors
- Users and installations
- Messages and notifications management
- Inbox
Geofencing API- DEPRECATED- Android Manifest components
- Privacy settings
- In-app chat
- Infobip RTC calls and UI
- Backup rules