# Firebase configuration

Complete the following steps to configure firebase for android and iOS app.

# Android app

  1. Open firebase console
  2. Click Project Overview from sidebar
  3. Click Add App or Android icon to register Android app on Firebase
  4. A form will show up
    • Add Android package name (applicationId in android > app > build.gradle)
    • Add app name
    • Enter SHA-1 code. For this run following command on terminal and enter give the password. (Default password is 'android')
    keytool -list -v -alias androiddebugkey -keystore ~/.android/debug.keystore
    
  5. Click Register app
  6. Continue clicking next (google-services.json can be downloaded after configuring firebase authentication)

# iOS app

  1. Open firebase console
  2. Click Project Overview from sidebar
  3. Click Add App or iOS icon to register iOS app on Firebase
  4. A form will show up
    • Add iOS package name (eg: com.wecslabs.klasterme)
    • Add app name
    • Leave app store id. This can be entered later
  5. Click Register app
  6. Continue clicking next (GoogleService-Info.plist can be downloaded after configuring firebase authentication)