Revert "Remove firebase setup on login"

This reverts commit 177f063c80.
This commit is contained in:
Kelrap 2025-05-22 12:56:39 -04:00
parent d8a6f935d2
commit b8fd99c05a

View file

@ -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#