Is there a way to retrieve the device push notification token?
Below Method "onTokenRefresh" gets fired before I can add a messaging listener, so the event is never triggered as sEnableMessagingListener false at that time.
@Override
public void onTokenRefresh(String token) {
if (sEnableMessagingListener && (sReactApplicationContext != null)) {
sendEvent(EventType.TokenRefresh, token);
}
}
Is there a way to retrieve the device push notification token?
Below Method "onTokenRefresh" gets fired before I can add a messaging listener, so the event is never triggered as sEnableMessagingListener false at that time.