Added dialog to ask users to enable Notifications
This commit is contained in:
1 parent
6816e77d21
commit
fe685c40fc
4 files changed
+57
-16
No files matched your search
@@ -53,6 +53,7 @@ class _AppState extends State<App> {
|
||||
}
|
||||
|
||||
FirebaseMessaging.onMessage.listen((message) => NotificationController.onForegroundMessageHandler(message, context));
|
||||
FirebaseMessaging.onMessageOpenedApp.listen((message) => NotificationController.onForegroundMessageHandler(message, context));
|
||||
FirebaseMessaging.onBackgroundMessage(NotificationController.onBackgroundMessageHandler);
|
||||
|
||||
super.initState();
|
||||
|
||||
Reference in new issue
Block a user