diff --git a/lib/utils/background_push.dart b/lib/utils/background_push.dart index 25fe2520d..804736a26 100644 --- a/lib/utils/background_push.dart +++ b/lib/utils/background_push.dart @@ -82,6 +82,8 @@ class BackgroundPush { void _init() async { try { // #Pangea + onLogin ??= + client.onLoginStateChanged.stream.listen(handleLoginStateChanged); FirebaseMessaging.instance.getInitialMessage().then(_onOpenNotification); FirebaseMessaging.onMessageOpenedApp.listen(_onOpenNotification); // Pangea#