Getting Issue while running the Flutter app with Firebase #12457
Unanswered
Manoj-SYS-193
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
ComponentDiscovery(17588): Application info not found.
W/ComponentDiscovery(17588): Could not retrieve metadata, returning empty list of registrars.
D/CompatibilityChangeReporter(17588): Compat change id reported: 183155436; UID 10226; state: ENABLED
I/FirebaseApp(17588): Device unlocked: initializing all Firebase APIs for app [DEFAULT]
E/flutter (17588): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: java.lang.NullPointerException: Firebase Messaging component is not present, ExecutionException, Cause: java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: java.lang.NullPointerException: Firebase Messaging component is not present, Stacktrace: java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: java.lang.NullPointerException: Firebase Messaging component is not present
E/flutter (17588): at com.google.android.gms.tasks.Tasks.zza(com.google.android.gms:play-services-tasks@@18.0.2:5)
E/flutter (17588): at com.google.android.gms.tasks.Tasks.await(com.google.android.gms:play-services-tasks@@18.0.2:8)
E/flutter (17588): at io.flutter.plugins.firebase.core.FlutterFirebaseCorePlugin.lambda$initializeApp$2(FlutterFirebaseCorePlugin.java:152)
E/flutter (17588): at io.flutter.plugins.firebase.core.FlutterFirebaseCorePlugin.$r8$lambda$9WC-8AFb5-XODn6dVe1lHuIkpNw(Unknown Source:0)
E/flutter (17588): at io.flutter.plugins.firebase.core.FlutterFirebaseCorePlugin$$ExternalSyntheticLambda3.run(Unknown Source:8)
E/flutter (17588): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
E/flutter (17588): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)
E/flutter (17588): at java.lang.Thread.run(Thread.java:1012)
E/flutter (17588): Caused by: java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: java.lang.NullPointerException: Firebase Messaging component is not present
E/flutter (17588): at com.google.android.gms.tasks.Tasks.zza(com.google.android.gms:play-services-tasks@@18.0.2:5)
E/flutter (17588): at com.google.android.gms.tasks.Tasks.await(com.google.android.gms:play-services-tasks@@18.0.2:8)
E/flutter (17588): at io.flutter.plugins.firebase.core.FlutterFirebaseCorePlugin.lambda$firebaseAppToMap$0(FlutterFirebaseCorePlugin.java:87)
E/flutter (17588): at io.flutter.plugins.firebase.core.FlutterFirebaseCorePlugin.$r8$lambda$zcQ2N7NaLhhpwODCTjedkBmaN9g(Unknown Source:0)
E/flutter (17588): at io.flutter.plugins.firebase.core.FlutterFirebaseCorePlugin$$ExternalSyntheticLambda7.run(Unknown Source:6)
E/flutter (17588): ... 3 more
E/flutter (17588): Caused by: java.util.concurrent.ExecutionException: java.lang.NullPointerException: Firebase Messaging component is not present
E/flutter (17588): at com.google.android.gms.tasks.Tasks.zza(com.google.android.gms:play-services-tasks@@18.0.2:5)
E/flutter (17588): at com.google.android.gms.tasks.Tasks.await(com.google.android.gms:play-services-tasks@@18.0.2:8)
E/flutter (17588): at io.flutter.plugins.firebase.core.FlutterFirebasePluginRegistry.lambda$getPluginConstantsForFirebaseApp$0(FlutterFirebasePluginRegistry.java:55)
E/flutter (17588): at io.flutter.plugins.firebase.core.FlutterFirebasePluginRegistry.$r8$lambda$mOLYc949iKLqFVaJN68PCOZPbqM(Unknown Source:0)
E/flutter (17588): at io.flutter.plugins.firebase.core.FlutterFirebasePluginRegistry$$ExternalSyntheticLambda1.run(Unknown Source:4)
E/flutter (17588): ... 3 more
E/flutter (17588): Caused by: java.lang.NullPointerException: Firebase Messaging component is not present
E/flutter (17588): at com.google.android.gms.common.internal.Preconditions.checkNotNull(com.google.android.gms:play-services-basement@@18.1.0:2)
E/flutter (17588): at com.google.firebase.messaging.FirebaseMessaging.getInstance(FirebaseMessaging.java:147)
E/flutter (17588): at com.google.firebase.messaging.FirebaseMessaging.getInstance(FirebaseMessaging.java:126)
E/flutter (17588): at io.flutter.plugins.firebase.messaging.FlutterFirebaseMessagingPlugin.lambda$getPluginConstantsForFirebaseApp$15(FlutterFirebaseMessagingPlugin.java:595)
E/flutter (17588): at io.flutter.plugins.firebase.messaging.FlutterFirebaseMessagingPlugin.$r8$lambda$P2Y4lBrGuRsQCtmnoNtDGD4-BzU(Unknown Source:0)
E/flutter (17588): at io.flutter.plugins.firebase.messaging.FlutterFirebaseMessagingPlugin$$ExternalSyntheticLambda0.run(Unknown Source:4)
E/flutter (17588): ... 3 more
E/flutter (17588): , null)
E/flutter (17588): #0 FirebaseCoreHostApi.initializeApp (package:firebase_core_platform_interface/src/pigeon/messages.pigeon.dart:189:7)
E/flutter (17588):
E/flutter (17588): #1 MethodChannelFirebase.initializeApp (package:firebase_core_platform_interface/src/method_channel/method_channel_firebase.dart:96:39)
E/flutter (17588):
E/flutter (17588): #2 Firebase.initializeApp (package:firebase_core/src/firebase.dart:43:31)
E/flutter (17588):
E/flutter (17588): #3 initFireBase (package:ktmdnt/utils/config/firebase_config.dart:12:3)
E/flutter (17588):
E/flutter (17588): #4 appConfig (package:ktmdnt/utils/config/app_config.dart:30:3)
E/flutter (17588):
E/flutter (17588): #5 main (package:ktmdnt/main.dart:17:3)
E/flutter (17588):
E/flutter (17588):
Beta Was this translation helpful? Give feedback.
All reactions