fix(bugs): Fix FindAWay Function with new package

This commit is contained in:
anhtunz
2025-04-15 10:13:17 +07:00
parent 6af1baed32
commit da8eb3ae2d
4 changed files with 24 additions and 25 deletions

View File

@@ -20,8 +20,6 @@ Future<void> _firebaseMessagingBackgroundHandler(RemoteMessage message) async {
await Firebase.initializeApp(options: DefaultFirebaseOptions.currentPlatform);
await setupFlutterNotifications();
showFlutterNotification(message);
// If you're going to use other Firebase services in the background, such as Firestore,
// make sure you call `initializeApp` before using other Firebase services.
print('Handling a background message ${message.messageId}');
}