Android Firebase suggest change

Add Firebase to Your Android Project

Here are simplified steps (based on the official documentation) required to create a Firebase project and connect it with an Android app.

Add Firebase to your app

  1. Create a Firebase project in the Firebase console and click Create New Project.
  2. Click Add Firebase to your Android app and follow the setup steps.
  3. When prompted, enter your app’s package name.

It’s important to enter the fully qualified package name your app is using; this can only be set when you add an app to your Firebase project.

  1. At the end, you’ll download a google-services.json file. You can download this file again at any time.
  2. If you haven’t done so already, copy the google-services.json file into your project’s module folder, typically app/.

The next step is to Add the SDK to integrate the Firebase libraries in the project.

Add the SDK

To integrate the Firebase libraries into one of your own projects, you need to perform a few basic tasks to prepare your Android Studio project. You may have already done this as part of adding Firebase to your app.

  1. Add rules to your root-level build.gradle file, to include the google-services plugin:
buildscript {
    // ...
    dependencies {
        // ...
        classpath ''

Then, in your module Gradle file (usually the app/build.gradle), add the apply plugin line at the bottom of the file to enable the Gradle plugin:

apply plugin: ''

android {
  // ...

dependencies {
  // ...
  compile ''

apply plugin: ''

The final step is to add the dependencies for the Firebase SDK using one or more libraries available for the different Firebase features.

|Gradle Dependency Line | Service | |————————|–––––| | | Analytics| | | Realtime Database| | | Storage| | | Crash Reporting| | | Authentication| | | Cloud Messaging / Notifications| | | Remote Config| | | Invites / Dynamic Links| | | AdMob| | | App Indexing|

Feedback about page:

Optional: your email if you want me to get back to you:

Table Of Contents
64 Menu
100 Firebase
112 Loader
119 Xposed
132 Colors
135 Fresco
140 AdMob
147 Button
156 Vk SDK
170 XMPP
176 OpenCV
200 FileIO
203 Moshi
217 Paint
231 AIDL
241 JCodec
243 Okio
255 Looper
  ↑ ↓ to navigate     ↵ to select     Esc to close