FirebasePushService class final

Implemented types

Constructors

FirebasePushService.new({required LocalNotificationsPresenter presenter, required Logger logger, required bool isDevEnvironment})

Properties

fcmTokenStream BehaviorSubject<String?>
Stream of FCM token updates
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
localNotificationsPresenter LocalNotificationsPresenter
finalinherited
pushTokenStream BehaviorSubject<String?>
Stream of push token updates. On Android this is the FCM token, on iOS this is the APNs token.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

cancelAll() Future<void>
inherited
deleteToken() Future<void>
override
getToken() Future<String?>
Get firebase token
initialize({required bool enableFirebaseInit}) Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
schedulePush(PushEntity push) Future<void>
inherited
setPeriodicPush(PushEntity push) Future<void>
inherited
showPush(PushEntity push) Future<void>
inherited
subscribeOnTopic({required String topic}) Future<void>
override
toString() String
A string representation of this object.
inherited
unsubscribeFromTopic({required String topic}) Future<void>
override

Operators

operator ==(Object other) bool
The equality operator.
inherited