5

When I first run flutterfire configure in my flutter app, 4 files were generated. firebase_options.dart, google-services.json, firebase_app_id_file.json and GoogleServices-Info.plist.

When I tried to use flutterfire configure again to link my app to a development version of my app (following this thread), I was only prompted to change 3 of the files like this:

The google-services.json file already exists but for a different Firebase project (betacentre-dev). Do you want to replace it with Firebase project thinking-digit-343408? ยท yes

After selecting yes for all of them, only GoogleService-Info.plist was unchanged, yet it is clearly crucial for firebase to work (since flutterfire configure added it in the first place, and it is referenced in this guide and also this guide, and it contains identifiers for my firebase project, and my app still communicates with the original project).

Is this a bug? Why is it behaving this way?

Nathan Tew
  • 432
  • 1
  • 5
  • 21

1 Answers1

2

I think it is a bug. I ended up creating a script to call rm ios/{your_target_name}/GoogleService-Info.plist before calling flutterfire configure with a few preset options.

sleepystar96
  • 721
  • 3
  • 12