Revert "Remove firebase setup on login"
This reverts commit 177f063c80.
This commit is contained in:
parent
d8a6f935d2
commit
b8fd99c05a
1 changed files with 2 additions and 0 deletions
|
|
@ -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#
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue