Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Multiple apps in one project or one project per app in Firebase?

Tags:

firebase

I have, at the moment 2 android apps in which I want to add notifications and maybe ads and analytics, using Firebase, since it's free and easy to implement.

I see that I have 2 options:

  1. Create a new project with my company's name and add the 2 apps in there
  2. Create 2 projects, each with app's name and on each of them add the related apps.

Which one would be the correct approach and why? Thank you.

like image 997
Alin Avatar asked Jul 12 '16 10:07

Alin


People also ask

Can a Firebase project have multiple apps?

A Firebase project can have one or more Firebase Apps registered to it (for example, both the iOS and Android versions of an app, or both the free and paid versions of an app).

How many apps can a Firebase project have?

How many Firebase Apps can I have in a Firebase project? A Firebase project is a container for Firebase Apps across Apple, Android, and web. Firebase restricts the total number of Firebase Apps within a Firebase project to 30.

Is Firebase pricing per project or per account?

All limits and pricing indicated on the Firebase pricing page apply to each separate project. So in your example neither project would be exceeding the limits of its free plan.


1 Answers

Don't mean to be flippant, but the answer is "it depends" :-)

A canonical way of setting up a Firebase project is to have it correspond to a "logical app", and create separate Firebase apps for the Android or iOS or web versions.

I'd not personally put a grab bag of unrelated apps into the same Firebase project, but your mileage may vary.

Depending on what you want to do, it might make sense to group related (but logically different apps) under the same Firebase project. But note that that has implications on how your apps would interact with the Firebase features.

For example, all apps in the same Firebase project would share the same logical Firebase database instance (with the same hostname / end-point).

You would probably want to go through the various features that you plan to use and make sure that the organizational structure satisfies the way you plan to use the platform features.

like image 115
mkwongh2g2 Avatar answered Sep 21 '22 00:09

mkwongh2g2