-
Notifications
You must be signed in to change notification settings - Fork 11
How do I get Infobip's unique (push registration) ID
Željko Brcković edited this page May 17, 2023
·
2 revisions
In order to get Infobip's unique push registration identifier issued by the server you need to implement the following code:
MobileMessaging.fetchInstallation(function (installation) {
// Here you can get pushRegistrationId with installation.pushRegistrationId
});
expand to see Ionic code
MobileMessaging.fetchInstallation().then(function (installation) {
// Here you can get pushRegistrationId with installation.pushRegistrationId
});
This identifier:
- matches one to one with FCM/APNs cloud token of the particular application installation
- is only available after
registrationUpdated
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
- Privacy settings
- In-app chat
- Migration guides
- Troubleshooting