PushTokenDataSource

internal class PushTokenDataSource(metadataDAO: MetadataDAO) : PushTokenRepository

Constructors

Link copied to clipboard
internal constructor(metadataDAO: MetadataDAO)

Types

Link copied to clipboard
internal object Companion

Functions

Link copied to clipboard
open override fun observeUpdateFirebaseTokenFlag(): Flow<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
open suspend override 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