Support multiple Firebase projects in your Android app

Have you ever thought about create multiple environments in Android app? I’d got this question since I created my first Firebase project and finally I tried and found the answer these days. This artical is sharing how to make different variants to connect to different Firebase projects and switch them easily in Android projects.

Let’s get it started




Shares Android development and Kotlin programming.

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

Recommended from Medium

Dynamic Android Resources using Bash Scripting

Flutter and Services

Solving the "missing emulator engine program for ‘x86’ cpu" error when trying to run emulators…

Flutter Web and Streams

How to Make Circle CI and Firebase Distribution Working Together

Instant Search Using Kotlin Flow Operators | MindOrks Weekly Newsletter

Sims 4 For Android Free Download Full Version

AudioKit Extensive Tutorial Part 3: Advanced Playback Controls and Playlists

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Hank Li

Hank Li

Shares Android development and Kotlin programming.

More from Medium

Working with Lines and Paths — Custom Views on Android — Part 3

Basics for your first Android App: REST API, Database, and Fragment Navigation

Building a Live-tracking App using Google Maps in Android

Splash Screen API android