PushTokenRepository

Functions

Link copied to clipboard
abstract suspend fun observeUpdateFirebaseTokenFlag(): <Error class: unknown class><Boolean>

Method responsible to observe the flag indicating if the firebase token should be registered via the ClientRepository.registerToken next time the token changes.

Link copied to clipboard
abstract suspend fun setUpdateFirebaseTokenFlag(shouldUpdate: Boolean): Either<StorageFailure, Unit>

Method responsible to set the flag indicating if the firebase token should be registered via the ClientRepository.registerToken