Complete Flutter Project Solutions
How to Generate SHA-1 in Flutter?
According to Current Mobile Trends, log in with Social Media like Google and Facebook has become very common and popular. In this article, we will be learning about How to Generate SHA-1 in Flutter?
How to Generate SHA-1 in Flutter?
Kindly follow the below steps to Generate SHA – 1 in Flutter.
- Select android/app/build.gradle file and on the right top corner click “Open for Editing in Android Studio“
- Open Gradle panel and double click on “SigninReport“,
- That’s it! If you use Firebase – add these 2 keys there. You should add both keys, otherwise, without the release key, Google login will not work on the devices.
Another Way
- Go to the project folder in the terminal.
For Mac
keytool -list -v -keystore ~/.android/debug.keystore -alias androiddebugkey -storepass android -keypass android
For Windows
keytool -list -v -keystore "\.android\debug.keystore" -alias androiddebugkey -storepass android -keypass android
You can do the same on VSCode, open the folder that contains gradlew for Linux and gradlew.bat for windows and run ./gradlew signing report for Linux and run gradlew signing report for windows.
Conclusion:
In this article, we have walked through How to Generate SHA-1 in Flutter?
Thanks for being with us a Flutter Journey !!!
Keep Learning!!
Keep Fluttering!!!
FlutterAgency.com is our portal Platform dedicated to Flutter Technology and Flutter Developers. The portal is full of cool resources from Flutter like Flutter Widget Guide, Flutter Projects, Code libs and etc.
FlutterAgency.com is one of the most popular online portal dedicated to Flutter Technology and daily thousands of unique visitors come to this portal to enhance their knowledge on Flutter.
Let’s Discuss
2 thoughts on “How to Generate SHA-1 in Flutter?”
Request a Quote
thanks for your useful article
Glad we helped!!