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:
Which one would be the correct approach and why? Thank you.
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 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.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With