Hi everyone,
I'm experiencing an issue with Google Sign-In on iOS in FlutterFlow.
Setup
FlutterFlow latest version
Firebase Authentication
Google Sign-In enabled
Apple Sign-In enabled (working correctly)
Local Run on a physical iPhone
Firebase project connected successfully
Problem
Whenever I tap the Google Sign-In button, the app immediately crashes.
Xcode shows the following exception:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException',
reason: 'Your app is missing support for the following URL schemes:
com.googleusercontent.apps.695462792732-a50gep42f6d52h0tipqcgmu5m6m1um7e'What I found
In my generated ios/Runner/Info.plist, FlutterFlow creates:
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>CFBundleURLSchemes</key>
<array>
<!--FF_REVERSED_CLIENT_ID-->
</array>
</dict>
</array>The placeholder FF_REVERSED_CLIENT_ID is never replaced with the actual value from Firebase.
Thanks in advance!