25-8-6-1
This commit is contained in:
@@ -170,6 +170,7 @@ class _MyAppState extends State<MyApp> with WidgetsBindingObserver {
|
||||
|
||||
await FirebaseMessaging.instance.requestPermission();
|
||||
FirebaseMessaging.onBackgroundMessage(backgroundMessageHandler);
|
||||
await FirebaseMessagesController().getToken();
|
||||
await NotificationController().initNotifications();
|
||||
|
||||
// You can add your other initializations here
|
||||
|
||||
Reference in New Issue
Block a user