Firebase for Android Developers

At Google I/O 2016, Google announced that Firebase is expanding to become a unified app platform for Android, iOS and mobile web development. Firebase includes features and integrations designed to help you develop high-quality apps, grow your user base, and earn more money.

The New Firebase

Firebase features work independently and you can choose the features that you need. At the heart of Firebase is Firebase Analytics, a free and unlimited analytics solution for mobile apps.




Android Setup

Firebase runs on Google Play Services (9.2+) and is available for Android 2.3 and higher. To add Firebase in your Android project:

Top-level project build.gradle file for adding Firebase SDK to an Android app
Module build.gradle file for adding Firebase SDK to an Android app

The Firebase SDK dependencies are in the format where x can be core (Analytics), database (Realtime Database), storage (Storage), crash (Crash Reporting), auth (Authentication), messaging (Cloud Messaging/Notifications), config (Remote Config), invites (Invites/Dynamic Links), ads (Admob). For Firebase App Indexing, the dependency is

What’s Next?

Try the Firebase Android Codelab and read the Firebase Docs to learn more about the new Firebase.

Originally published at on July 6, 2016.

Android Developer, Trainer, and Consultant, Software Developer, Sweldong Pinoy Developer

Love podcasts or audiobooks? Learn on the go with our new app.