LocalPushMessaging

class LocalPushMessaging(store: PushTokenStore = InMemoryPushTokenStore()) : PushMessaging

Offline PushMessaging backed by a PushTokenStore — the commonMain default (and the noGms/ iOS-without-key fallback) for apps with no push backend of their own to register against.

Constructors

Link copied to clipboard
constructor(store: PushTokenStore = InMemoryPushTokenStore())

Properties

Link copied to clipboard
open override val onTokenRefresh: Flow<String>

Functions

Link copied to clipboard
open suspend override fun currentToken(): String?
Link copied to clipboard
open suspend override fun subscribeTopic(topic: String)
Link copied to clipboard
open suspend override fun unsubscribeTopic(topic: String)