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
'개발 > Flutter web' 카테고리의 다른 글
flutter web kakao login 하기 (0) | 2022.10.24 |
---|---|
flutter web firebase image error (0) | 2022.10.23 |
flutter web firebase image error (0) | 2022.10.23 |
flutter web 오류 Platform._operatingSystem (0) | 2022.10.22 |
flutter web firebase dynamic link 관련 오류 (0) | 2022.10.22 |