registerForToken
Deprecated
FCM has deprecated the registration token. This API stops working when FCM removes the legacy token support, or it will be removed in MoEngage-Android-SDK version 16.00.00. Use registerForInstallationId() instead.
Replace with
registerForInstallationId(context)Content copied to clipboard
API to register for FCM Token. Call this API only if you are delaying the SDK initialisation else this is not required.
Note: If the application has opted out of token registration this API will not register a push token.
Since
10.3.00
Parameters
context
instance of Context