Multiple applications in one project or one project for each application in Firebase?

I currently have 2 Android apps in which I want to add notifications and possibly announcements and analytic materials using Firebase, as it is easy and simple to implement.

I see that I have 2 options:

  • Create a new project with the name of my company and add 2 applications there.
  • Create 2 projects, each with the name of the application, and each of them will add related applications.

What will be the right approach and why? Thanks.

+6
source share
1 answer

It doesn't mean to be frivolous, but the answer "it depends" :-)

The canonical way to create a Firebase project is to match the “logical application” and create separate Firebase applications for Android or iOS or web versions.

I would not put a package for capturing unrelated applications in 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 applications) into a single Firebase project. But keep in mind that this affects how your applications interact with Firebase features.

For example, all applications in the same Firebase project will have the same logical instance of the Firebase database (with the same name / endpoint).

You may want to familiarize yourself with the various functions that you plan to use, and make sure that the organizational structure satisfies how you plan to use the functions of the platform.

+4
source

All Articles