GetIt().collection("users").id // This also does not work and throws the same exceptionĮxception stacktrace: E/flutter ( 8030): Unhandled Exception: No Firebase App '' has been created - call Firebase.initializeApp()Į/flutter ( 8030): #0 MethodChannelFirebase.appĮ/flutter ( 8030): #2 FirebaseFirestorePlatform.instanceĮ/flutter ( 8030): #3 new FirebaseFirestorePlatform.instanceForĮ/flutter ( 8030): #4 FirebaseFirestore._delegateĮ/flutter ( 8030): #5 llectionĮ/flutter ( 8030): #6 DI. getIt.registerSingleton(FirebaseCrashlytics.instance) įinal fs = FirebaseFirestore.instanceFor(app: app) įs.collection("users").id // Exception here getIt.registerSingleton(FirebaseAnalytics.instanceFor(app: app)) NOTE: Not supported with custom firebase app name GetIt.registerSingleton(FirebaseFirestore.instanceFor(app: app)) GetIt.registerSingleton(FirebaseAuth.instanceFor(app: app)) Launching lib/main.dart on Android SDK built for x86 in debug mode. GetIt.registerSingleton(FirebaseStorage.instanceFor(app: app)) Overview Certified Similar to 3 Based on the Windows Preinstallation Environment, DaRT (Diagnostics and Recovery Toolset) is an official Microsoft utility suite that includes a registry. flutter run but now I it shows some errors with Gradle. Inside DI.setupDependencies(.) final app = Firebase.app(firebaseAppName) WidgetsFlutterBinding.ensureInitialized() Īwait Firebase.initializeApp(name: "module", options: All good so far, however FirebaseFirestore is still trying to reach out to app. Because this module might be used in other projects, I want to have a Firebase app with non name. Insert the CD / DVD DaRT 7.0 drive in the locked computer. Change your boot preferences to boot from CD /DVD. Start your computer and enter into Bios Setup by Pressing F2. I'm working on Flutter module, that will use some of Firebase tools underneath. Download and Install DaRT 7.0, then Creating a Recovery CD/DVD with it.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |