Rafael Lima
Rafael Lima

Reputation: 3535

Using firebase different apps same project vs different projects

I'm an android developper and i've a few apps published on google play... I do myself every single aspect of my apps including maintence.

I've two similar apps that share some core API... they dont share database nor storage, just some java API of my own and some google cloud functions i made (public)

When i was preparing the firebase infrastructue to run the second one i decided for creating a second app in the same firebase project as the first one... this was a decision made basically because i hated the firebase "switch between projects" tools.

my question is:

what are the advantages and disadvntages of having multiple apps sharing same firebase project?
when should i create a new project for a new app and when should i reuse the project

I'm a single self suficient developper so any sort of "project permissions" wont make difference to me

Upvotes: 1

Views: 792

Answers (1)

Doug Stevenson
Doug Stevenson

Reputation: 317467

The primary reason to have multiple apps in the same project is when you want to share database and user data between them. Multiple apps in the same project are definitely expected to share data and configuration across all Firebase products. A common use case is when you have an end-user app and an admin app, both working against the same data.

If you're not sharing data between the apps, then you will only run into future trouble if you have multiple apps in the same project. (For example, see this question which was asked at the same time as yours.)

Upvotes: 2

Related Questions