Top

Chatzy Documentation

NOTE :
- Before running the app make sure you have import Collection json in Firestore database which we have provided.
- Before import json in firestore database remember to give rule permission or create Firestore Data. See the Firebase Rules for create Firestore Database and how to give permission in firebase.
Also you can check below video for how to import json in firebase:
VIDEO URL : https://youtu.be/Jd0sW8Wrc5Y?si=AxC6BmWBFwZfZU4a


How to add SHA-1 key in firebase :


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/

Genearate SHA-1 and SHA26 follow below steps:

      There are 2 ways for geneta debug keys :

      • 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 
      • For Debug mode:
        keytool -list -v -keystore ~/.android/debug.keystore -alias androiddebugkey 
        storepassword : android -keypassword android 

    • For Release mode:
      keytool -list -v -keystore [keystore_name] -alias [alias_name] 
      storepassword : android -keypassword android 
    • Example for Release mode
      keytool -list -v -keystore /Users/projectmac/Documents/GitHub/probot/android/chatzy -alias key0 
      storepassword : android -keypassword android 
  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 setting icon. 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.