🤖
Android
  • Chat SDK Android
  • Getting Started
    • Chat SDK Quickstart
    • Add the Chat SDK to a Firebase app
    • Add the Chat SDK to a non-Firebase app
  • Setup
    • Add Chat SDK to your project
    • Firebase Setup
    • Chat SDK Initialization
    • Set the Chat SDK Theme
    • Enable Location Messages
    • Authentication Screen
    • Add Additional Modules
    • Module Configuration
    • Proguard
  • API
    • Overriding Activities and Fragments
    • Events
    • Theming
    • Customizing the Icons
    • Tab Customization
    • Add a Chat Option
    • Message Customization
    • Integrating Chat SDK User profiles with your app
    • Overriding the Push Notification Handler
    • Handling Structured Meta Data
  • Chat SDK v4
    • Development Guide
    • Updating from v4 to v5
Powered by GitBook
On this page

Was this helpful?

  1. Setup

Firebase Setup

PreviousAdd Chat SDK to your projectNextChat SDK Initialization

Last updated 4 years ago

Was this helpful?

Chat SDK Firebase

  1. Go to the website and sign up or log in

  2. Go to the and make a new project

  3. Click Add project

  4. Choose a name and a location

  5. Click Settings (the gear icon). On the General tab, click Add App -> Add Firebase to your Android app

  6. Enter your package name - found in your app's build.gradle file, app name and SHA-1 key (required for phone sign-in)

  7. Download the google-services.json file and add it to your app project. It should be added inside the app folder.

  8. In the Firebase Console click Database, scroll down and create a new Realtime Database -> Start in test mode

  9. In the Firebase dashboard click Authentication -> Sign-in method and enable all the appropriate methods

  10. Enable push notifications:

  11. Enable the security rules: .

  12. Setup storage rules:

Firebase
Firebase console
Push Notifications
Enabling Security Rules
Storage rules