In my Flutter app project,
The "bundle_id" that exists in the "google-services.json" is not the same as CFBundleIdentifier in info.plist and BUNDLE_ID in the "GoogleService-Info.plist".
- after changing the bundle id in the xcode
- and then run flutterfire configure
- nothing changes in the "google-services.json" file
- and still got the old "bundle_id"
"google-services.json"
"services": {
"appinvite_service": {
"other_platform_oauth_client": [
{
"client_id": "xxxxxxxxxxxx.xx.com",
"client_type": 2,
"ios_info": {
"bundle_id": "com.example.xx" // need to change that
}
}
]
}
}
- I tried to create another Apple App But also
2
Answers
After updating the bundle ID in Firebase Console, download the new "google-services.json" file and replace the old one in your project. This should update the bundle ID in the file, and you can proceed with your app development.
I got the same issue and here is how to fix it :
flutterfire configure
command again.