From b8fd99c05a70cd75f1c080345303d546ce898bbe Mon Sep 17 00:00:00 2001 From: Kelrap Date: Thu, 22 May 2025 12:56:39 -0400 Subject: [PATCH] Revert "Remove firebase setup on login" This reverts commit 177f063c80fef4c0d221e553cd9b957ff4042201. --- lib/utils/background_push.dart | 2 ++ 1 file changed, 2 insertions(+) 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#