Stuck with Firebase for Flutter Step 4

702 views
Skip to first unread message

John Varghese

unread,
Apr 2, 2019, 9:11:44 PM4/2/19
to flutt...@googlegroups.com
Hey all, 

New to flutter and been teaching myself flutter and been stuck. Hope someone can help shed some light....Thanks in advance..

Here is what I am trying to do....
  1. I am playing with Firbase with Flutter as mentioned in https://codelabs.developers.google.com/codelabs/flutter-firebase
  2. Have successfully completed till step 3 which is creating a basic app
  3. Once  I add "cloud_firestore: ^0.8.2" as mentioned on Step 4 and try hot reload  as mentioned in Step 5 I get following error
Launching lib/main.dart on iPhone XR in debug mode...
Running pod install...
Running Xcode build...
Xcode build done.                                           295.0s
5.20.0 - [Firebase/Core][I-COR000003] The default Firebase app has not yet been configured. Add `[FIRApp configure];` (`FirebaseApp.configure()` in Swift) to your application initialization. Read more: https://goo.gl/ctyzm8.
5.20.0 - [Firebase/Core][I-COR000012] Could not locate configuration file: 'GoogleService-Info.plist'.
5.20.0 - [Firebase/Core][I-COR000005] No app has been configured yet.
*** First throw call stack:
(
0   CoreFoundation                      0x000000010d3d21bb __exceptionPreprocess + 331
1   libobjc.A.dylib                     0x000000010c970735 objc_exception_throw + 48
2   CoreFoundation                      0x000000010d3d2015 +[NSException raise:format:] + 197
3   Runner                              0x0000000108567aa0 +[FIRApp configure] + 576
4   Runner                              0x0000000108a3968c -[FLTCloudFirestorePlugin init] + 188
5   Runner                              0x0000000108a39539 +[FLTCloudFirestorePlugin registerWithRegistrar:] + 297
6   Runner                              0x00000001083a811b +[GeneratedPluginRegistrant registerWithRegistry:] + 123
7   Runner                        <…>

Any idea how can I go past this error? 

Thanks in advance.

Cheers,
J

Steven McDowall

unread,
Apr 2, 2019, 11:14:46 PM4/2/19
to John Varghese, flutt...@googlegroups.com
Don’t follow things blindly for such a new platform ..

Go to dart pub and make sure you use the latest version available ..lots of changes happening fast and Flutter upgrade semvar does NOT blindly update as you may think .. 

Sent from my iPad
--
You received this message because you are subscribed to the Google Groups "Flutter Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

John Varghese

unread,
Apr 3, 2019, 12:00:57 AM4/3/19
to Steven McDowall, flutt...@googlegroups.com
Thanks for the tip Steve!  That helped.

Ian Hickson

unread,
Apr 4, 2019, 2:05:39 AM4/4/19
to John Varghese, Steven McDowall, Flutter Dev
Please don't hesitate to file a bug if following the documentation blindly doesn't work out of the box. :-)
--
Ian Hickson
Reply all
Reply to author
Forward
0 new messages