How do I get Infobip's unique (push registration) ID - infobip/mobile-messaging-react-native-plugin GitHub Wiki
In order to get Infobip's unique push registration identifier issued by the server you need to implement the following code:
mobileMessaging.getInstallation(
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