updateToken

abstract suspend fun updateToken(deviceId: String): Boolean

Updates the device’s FCM token on the backend.

Return

true if the token was updated successfully; false otherwise.

Parameters

deviceId

The unique ID of the device.

Throws

if update fails.