개발/Flutter web
flutter option 을 쓰지 않아서 생겼던 오류
dev_caleb
2022. 10. 22. 10:48
728x90
FirebaseOptions cannot be null when creating the default app
I am trying to try a sample project in Flutter integration email and google based login, and planning to use firebase initialisation for doing it while I have followed all the steps as mentioned in
stackoverflow.com
flutte dart에서
await Firebase.initializeApp(
options: DefaultFirebaseOptions.currentPlatform,
);
이걸 꼭 넣어줘야 함.
flutter 예전 버전에서는 괜찮았는데 3.0 되면서 firebase에서 업데이트 된 부분.
728x90