1. Home
  2. Docs
  3. Threme Setup
  4. Firebase Installation
  5. Configure Firebase for Android

Configure Firebase for Android

  1. Add Firebase SDK Dependencies: In your android/build.gradle file, add the classpath for the Google services plugin:
    dependencies {
     classpath 'com.google.gms:google-services:4.3.3' // Use the latest version
    }
  2. Apply the Google Services Plugin: In your android/app/build.gradle file, apply the Google services plugin at the bottom:apply plugin: ‘com.google.gms.google-services’
  3. Set Minimum SDK Version: Ensure that your minSdkVersion in android/app/build.gradle is set to at least 19:

    android {
     defaultConfig {
     minSdkVersion 19
    }
    }