Throws 'options != null': is not true
icodelifee opened this issue · comments
Mithun S Menon commented
On launch, app throws the following error:
Unhandled Exception: 'package:firebase_core_desktop/firebase_core_desktop.dart': Failed assertion: line 35 pos 12: 'options != null': is not true.
Which I think is called due to FirebaseApp initialization in main(), the app is set up for web as well as macOS.
FirebaseConfigs for the different projects are intialized later.
Mais Alheraki commented
The package desktop launches the default Firebase app from dart, which means you have to provide options to Firebase.initializaApp()
.
Mais Alheraki commented
A section is added to README to clarify this part, thanks for reporting the issue!