Flutter Tutorial - Google SignIn WITHOUT Firebase - Android, iOS, Flutter Web
Why Stack Overflow recommends it
Stack Overflow users link it when they need a walkthrough of Flutter Google Sign-In that avoids Firebase, especially for the Android setup and the SHA key and keystore steps.
Recommended by 2 people across 2 different months, 2021 to 2022.
What it is
A 16-minute Flutter tutorial by Johannes Milke (HeyFlutter) on adding Google Sign-In to a Flutter app without Firebase. It covers setup for Android, iOS and Flutter Web using the google_sign_in package, with source code on GitHub.
What people said
Recommends Adil Ayoub · 2022-05 · Stack Overflow · on “How to login with Google account in iOS device with Flutter, no Firebase”
I have successfully integrated Google login in android without Firebase. We are using MySQL. I have followed this YouTube Flutter tutorial [this video] , but I have no idea how to do it in iOS. Please Flutter team, guide me through.
Recommends Ilyas Arafath · 2022-12 · Stack Overflow · on “PlatformException(sign_in_failed, com.google.android.gms.common.api.ApiException: 10: , null, null) When trying to use googleSignIn in flutter”
Error code 10 means the SHA key is wrong . So once you create SHA key using this command " ./gradlew signingReport " . Many SHA keys swill generate . Select the SHA key corresponding to your jks file and put inside firebase console under android app section, this tutorial [this video] helped me .
Cites Apoorv pandey · 2021-06 · Stack Overflow · on “Failed to read key androidDebugKey from store <key>: Keystore was tampered with, or password was incorrect”
This is a Flutter project. I have generated a keystore file using this command: keytool -genkey -v -keystore path\signInDebug.jks -storetype JKS -keyalg RSA -keysize 2048 -validity 10000 -alias androidDebugKey Then I have placed this key in my app folder android\app in my flutter project. I have then added this config in my android/app/build.gradle signingConfigs{ debug{ keyAlias 'androidDebugKey' keyPassword '<password>' storeFile file('signInDebug.jks') } } buildTypes { debug { signingConfig signingConfigs.debug } } Now when I try to run my app I'm getting this error: A failure occurred while executing com.android.build.gradle.tasks.PackageAndroidArtifact$IncrementalSplitterRunnable > com.
Cites Ammar Zahid · 2022-04 · Stack Overflow · on “Flutter: Google SignIn without Firebase on iOS”
I have been trying to find a way to integrate Google Sign-in with flutter without Firebase. I used the package google_sign_in [LINK] and followed this documented video [this video] The problem is that I am only successful in doing this for android. If anyone knows how do this on iOS, it would of great help.