FirebasePushConnector class
Methods
-
configure({MessageHandler? onMessage, MessageHandler? onLaunch, MessageHandler? onResume, MessageHandler? onBackgroundMessage, FirebaseOptions? options})
→ Future<void>
-
Configures callbacks for supported message situations.
It should be called as soon as app is launch or you won't get the
onLaunch
callback
override
-
dispose()
→ void
-
Deletes used resources.
inherited
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
requestNotificationPermissions()
→ void
-
Prompts (if need) the user to enable push notifications.
After user makes their choice, isDisabledByUser will become either true or false.
If accepted, token.value will be set
override
-
toString()
→ String
-
A string representation of this object.
inherited
-
unregister()
→ Future<void>
-
Unregisters from the service and clears the token.
override