How to generate SHA-1keyand SHA-256 key in Flutter Project
Hi Coders,
My name is Amit Bahadur and today in this article i am gonna show you how you can get or generate Sha-1 and Sha-256 key of project in flutter which will be used when connected with firebase. So let's jump to the main part
If you face any problem while generating your keys by this method then feel free to contact me in any social media platform or you can just comment below your problems
Step 1:Open your gradle file and Open for Editing:-
It can be app/gradle or project/gradle So you can open any one of then and there you will see option named Open for Editing in Android Studio.
Step 2: Open in New Window
Step 3:Click on Gradle:-
You will find an option named Gradle at the top right corner as you see in below pic
Step 4: Click on Android > Tasks > android > signingReport
Step 5: SHA1 and SHA 256 key :-
After click on above option go to run screen at the below and there you will find many sha keys but at last one is our key so just copy and paste it where you wanna use them.
Thank You