Learn2Code
Learn2Code

Reputation: 2280

Same Firebase Instance for iOS and Android app

I am new to android, but I have finished setting up a Firebase backend for an iOS application. Now I am starting to code the Android version which should access the same Firebase backend.

My question is this... do I need to create a new Firebase instance for the Android backend!? I was hopeful to use the same Firebase instance that I have created for the iOS application?

Upvotes: 8

Views: 10400

Answers (3)

Armar
Armar

Reputation: 289

While in your Project Overview click the cog Wheel and select project settings, while in settings under the general tab scroll down to Your apps and click Add App. then add another environment you want.

Upvotes: 3

BrandonMayU
BrandonMayU

Reputation: 716

If you are building an android version of the app you use the same firebase project however when you are in the console you click Overview -> 'Add Another App' -> Click 'Android'

Follow the android setup and you are all good.

Upvotes: 12

Luan Tran
Luan Tran

Reputation: 1142

You can and you should use Same Firebase Project. So that, the database will be share between iOS and Android app.

Upvotes: 4

Related Questions