addTokenListener
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 addInstallationIdListener() instead.
Replace with
addInstallationIdListener(listener)Content copied to clipboard
Register a listener to receive a callbacks whenever a token is generated or updated.
Since
12.0.00
Parameters
listener
instance of TokenAvailableListener