Google Sign-In Setup
1. Enable Google Provider in Firebase
- Go to the Firebase Console.
- Select Authentication -> Sign-in method.
- Click on Google, enable it, select a support email, and click Save.
2. Add SHA-1 Fingerprints (Android)
Google Sign-In on Android requires SHA-1 and SHA-256 fingerprint hashes:
- Generate your app's SHA-1 fingerprint:
- For debug build, run:
cd android && ./gradlew signingReport - For production, get the SHA-1 from your Google Play Console under Release -> Setup -> App signing.
- For debug build, run:
- Go to Firebase Console -> Project Settings -> General.
- Scroll down to your Android app and click Add fingerprint.
- Paste your SHA-1 key and save.
- Re-download
google-services.jsonand replace it inandroid/app/google-services.json.
3. iOS URL Schemes Configuration
-
Open your downloaded
GoogleService-Info.plistfile. -
Find the key
<key>REVERSED_CLIENT_ID</key>and copy its<string>value (e.g.com.googleusercontent.apps.1234567890-abcdefg). -
Open
ios/Runner/Info.plistin your editor or Xcode. -
Add or update the URL Scheme inside
<key>CFBundleURLTypes</key>:<key>CFBundleURLTypes</key> <array> <dict> <key>CFBundleTypeRole</key> <string>Editor</string> <key>CFBundleURLSchemes</key> <array> <string>YOUR_REVERSED_CLIENT_ID</string> </array> </dict> </array>
Still stuck?
Our support team is ready to help you get set up.

