Super Chat Docs
  • πŸ‘‹Welcome to Super Chat Doc
  • Get Started
    • πŸ’‘Setup & Importing Android Studio Project
    • πŸ”₯Setting up Firebase
    • ☁️Setup Backend - Cloud Functions
    • πŸ€–Enable AI
    • πŸ”‘Adding your SHA-1 Key
    • πŸ“²Enable Video & Voice Calls
    • πŸ—ΊοΈSetup Google Maps & Location Sharing
    • 🌎Translation
    • πŸ“’Notes & Troubleshooting
    • πŸ”Notes regarding Encryption
    • πŸ”’Add Testing Numbers
  • Admin Panel
    • πŸ›‚How to setup Admin Panel
  • End
    • ❀️Thank for using our product
    • πŸ€™Contact Us
Powered by GitBook
On this page
  1. Get Started

Adding your SHA-1 Key

PreviousEnable AINextEnable Video & Voice Calls

if you did NOT add your SHA-1 Key you will face some errors while verifying Phone Number

  1. go to Android Studio > Build > Generate Signed APK > (choose APK if prompted) > then create a New Key and fill in the needed information.

you can skip step 1 if you already have .jks key.

  1. after getting your jks key open the folder Firebase Console - Files\Generate SHA1 Fingerprint Tool then choose your OS type (x86 or x64) and open the file release.bat (make sure that you have Installed)

  2. it will ask you for key alias that you have set when generating the .jks key

if you did not define key alias the default key alias would be key0

  1. you have to either type the key path like: D:\Folder\key.jks or simply drag and drop it

  2. then you have to enter the key passowrd that you have set for the key ,the tool will show nothing as you type to make it more secure.

finally hit enter and you will get the SHA1 Fingerprint like this

Please make sure that you got SHA-1 NOT SHA-256, if for some reason you've got SHA-256, search for 'keytool' in Java directory and execute the command:

keytool -list -v -keystore <your_keystore_jks_file_path> -alias <your_alias_name>

copy the SHA1 key and go to your Firebase Project Console and click on little Gear icon > Project Settings >General

scroll down and you will find your package name, click on Add Fingerprint and paste in the SHA1 key that you've copied before. then click save

image

Get SHA1 Key From Google Play Store

if you want to upload your app to Google Play Store then you have to get your SHA1 Fingerprint From Google Play Console after Uploading your APK .

to do so go to Google Play Console > Release Management > App Signing > you will see your keys like this

image

copy SHA-1 Keys (App Signing & Upload Certifcates) and paste them in Firebase Console as you've done in

more info in

πŸ”‘
Adding your SHA-1 Key
this article
Java JDK
image
image