Skip to content

How do I get Infobip's unique (push registration) ID

Davor Komušanac edited this page Dec 5, 2022 · 2 revisions

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
Clone this wiki locally