keySHA Key

How to add SHA-1 key in firebase :

circle-info

bullhorn NOTE : Before launching the app, ensure you have correctly set up the ADMIN LARAVEL and have added all necessary data through the admin panel.

Before using firebase data access or signin or signup in debug or release you need to add SHA-1 and SHA26 Key in Firebase. So let's see how to generate key. Go to https://console.firebase.google.com/arrow-up-right

Genearate SHA-1 and SHA26 follow below steps: There are 2 ways for geneta debug keys :

  1. In Android Studio or Video Studio open your project, open terminal and go to android folder just write below command

    cd android 

    Now enter another command for go to your android folder path

    ./gradlew signingReport 
    
  2. For Debug mode

    keytool -list -v -keystore ~/.android/debug.keystore -alias androiddebugkey 
  • For Release mode :

  • Example for Release mode :

  1. After apply above command enter the line. You get the both SHA-1 and SHA26 key

  2. Copy SHA-1 Key, Open your project in firebase project

  3. On left hand side panel click on gear. On click Setting button pop open open. In that click on Project Settings

  4. In General tab, go down in that click Add fingerprint

  5. Copy both SHA1 and SHA26 key for debug and release and paste it in fingerprint

  6. For Create Bundle in android : If you want to create bundle instead of apk you have to add new signin SHA-1 From you google console like : Go to Google play console ⇒ Select you app ⇒ Setup section [in left hand menu] ⇒ Click App Signin ⇒ Copy SHA-1 from app singin certificated and paste it to firebase project settings

circle-info

Now go to the Connect With Admin: Connect With Adminarrow-up-right.

Last updated