updateDeviceToken

suspend fun updateDeviceToken(credential: PushCredential, deviceToken: String, deviceName: String): Boolean

Update a device token on the server.

Return

True if the update was successful, false otherwise.

Parameters

credential

The credential to use for the update.

deviceToken

The new device token.

deviceName

The device name.