onNewToken

open override fun onNewToken(newToken: String?)

Called if InstanceID token is updated. This may occur if the security of the previous token had been compromised. Note that this is called when the InstanceID token is initially generated so this is where you would retrieve the token.

Parameters

newToken

FCM push token