shouldUpdateToken

suspend fun shouldUpdateToken(newToken: String): Boolean(source)

Check if the device token has changed and needs to be updated

Return

True if the token has changed and should be updated, false otherwise

Parameters

newToken

The new device token to compare