Replies: 1 comment
-
I got this error when i was running linux desktop app.I think the firebase desktop app is not ready for use of firebase apis in fluter |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
https://www.reddit.com/user/Lok2880/draft/671659f6-a3da-11ee-bf59-727863c25aee
I tried :
My flutter version was 3.16.8 after flutter downgrade to 3.13.8 even though I could not work with my firebase project.
when error get occured
after i import firebase_core: 2.24.2 .Even lower version not working for me. In main function
Future main() async {
WidgetsFlutterBinding.ensureInitialized();
await Firebase.initializeApp();
runApp(const MyApp());
}``` [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(channel-error, Unable to establish connection on channel., null, null)
0 FirebaseCoreHostApi.initializeCore (package:firebase_core_platform_interface/src/pigeon/messages.pigeon.dart:210:7)
#1 MethodChannelFirebase._initializeCore (package:firebase_core_platform_interface/src/method_channel/method_channel_firebase.dart:29:44) #2 MethodChannelFirebase.initializeApp (package:firebase_core_platform_interface/src/method_channel/method_channel_firebase.dart:73:7) #3 Firebase.initializeApp (package:firebase_core/src/firebase.dart:43:31) #4 main (package:quiz/main.dart:6:3) ``` > !!! Status :not working !!!
Beta Was this translation helpful? Give feedback.
All reactions