Skip to content

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

Andrey K edited this page Feb 4, 2019 · 3 revisions

In order to get Infobip's unique push registration identifier issued by the server you need to implement the following code:

if let pushRegistrationId = MobileMessaging.getInstallation()?.pushRegistrationId {
    // your business logic
}

This identifier:

  • matches one to one with APNs cloud token of the particular application installation
  • is only available after MMNotificationRegistrationUpdated event
  • does not change for the whole lifetime of the application installation
Clone this wiki locally