Skip to content

Commit

Permalink
fix: Register firebase token on load
Browse files Browse the repository at this point in the history
  • Loading branch information
xsorifc28 committed Mar 15, 2023
1 parent 4397d36 commit 0a0f8c8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/app/providers/app_provider.dart
Expand Up @@ -32,6 +32,7 @@ class AppProvider implements NyProvider {
await Firebase.initializeApp(options: DefaultFirebaseOptions().currentPlatform);

AuthService().configureProviders();
await FirestoreService().updateFcmToken();
await FirestoreService().getTranslator();
LocationService();
return nylo;
Expand Down

0 comments on commit 0a0f8c8

Please sign in to comment.