Complete BLoC with Clean Architecture (group chat) Discount !! E-commerce App With Backend Source Code Video and Voice Chatting App Firebase Chatting App Source Code Complete Gym App BLoC State Management Source Code Complete Study App Buy Ticket Booking App Source Code Buy Travel App With Backend Source Code Complete Chat App Udemy Course Special Offer Discount !! Online Learning Course App (BLoC) Online Learning Course App (Riverpod) Online Learning Course App (Getx) Discount !! Shopping App (Provider) Cool Flutter Game Flutter Nodejs Chat App Flutter Nodejs Api And Firebase Chat App Riverpod Task Management App
SHA1 key very important for Google sign in with Flutter, React Native and Native android app.
Here you will learn how to generate SHA-1 key for Flutter, React-Native and Native android app. I will show here how to do it for Mac, Windows and Linux.
To run it for Mac
, you need to run the below command
keytool -list -v -keystore ~/.android/debug.keystore -alias androiddebugkey -storepass android -keypass android
And it would generate result like below
Here you see, I have highlighted SHA1, that's been generated.
For Windows
run the below command in the project root
keytool -list -v -keystore C:\Users\username\.android\debug.keystore
-alias androiddebugkey -storepass android -keypass android
Make sure you have your correct username right after C:\Users\
At the same time you need to make sure your keytool is installed
, otherwise it's not gonna work. Here click to install keytool
For Linux
run the following command
keytool -list -v -keystore ~/.android/debug.keystore -alias androiddebugkey -storepass android -keypass android
That's it! If you use Firebase - add these keys there. You should add both keys, otherwise, without the release key, Google login will not work on the devices