Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Pros and cons of using one project for multiple apps in Firebase Could Messaging

In our company, we have many apps for Android and for iOS. And we want to use Firebase for push notifications. So, do we need to create new project in Firebase for each app, or will be better just use one project with all apps inside? What are pros and cons both ways?

First way:

  • App1 Firebase project

    • App1 Android Dev

    • App1 Android Stage

    • App1 iOS Dev

  • App2 Firebase Project

    • .....

Second way:

  • Company firebase project

    • App1 Android dev

    • App2 Android stage

    • App2 iOS Dev ...

Which is better?


1 Answers

When you create a new project, it will have an android app inside of it. If you want to create the application also for ios and/or web, then you need to go to the Overview page and click add another app. Then all the apps inside a project will be able to access one database.

Therefore it is better to add all of the production applications to one project, so they can access the same database.

If you want to create apps for testing/development then create another project and add the apps inside of it, as specified here:

https://firebase.google.com/docs/configure/

like image 121
Peter Haddad Avatar answered Jan 26 '26 12:01

Peter Haddad



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!