Merge pull request #2718 from pangeachat/remove-duplicate-push

Remove firebase setup on login
This commit is contained in:
ggurdin 2025-06-12 11:41:35 -04:00 committed by GitHub
commit de9c0edd8f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -82,8 +82,6 @@ class BackgroundPush {
void _init() async {
try {
// #Pangea
onLogin ??=
client.onLoginStateChanged.stream.listen(handleLoginStateChanged);
FirebaseMessaging.instance.getInitialMessage().then(_onOpenNotification);
FirebaseMessaging.onMessageOpenedApp.listen(_onOpenNotification);
// Pangea#