How do I get Infobip's unique (push registration) ID - infobip/mobile-messaging-flutter-plugin GitHub Wiki
In order to get Infobip's unique push registration identifier issued by the server you need to implement the following code:
var installation = await InfobipMobilemessaging.fetchInstallation();
print('Push Registration Id: ' + installation.getPushRegistrationId().toString());
This identifier:
- matches one to one with FCM/APNs cloud token of the particular application installation
- is only available after
registrationUpdatedevent - does not change for the whole lifetime of the application installation