0

I'm working on a personal project by developping two native apps, one for iOS (Swift) and the other one for Android (Kotlin). Both apps are for money management and banking.

My question is about firebase, should I create 2 different projects on Firebase and connect each one of my apps to one project at a time, or one Firebase-project can do the job for both apps ?

Any explanations are appreciated. Thank you!

Hajar Elkoumikhi
  • 119
  • 2
  • 3
  • 12
  • 1
    AFAIK, A single Firebase project, like a cloud back-end service, can be shared with iOS, Android and Web. – MD Naseem Ashraf Mar 20 '19 at 13:38
  • See https://stackoverflow.com/questions/42731422/same-firebase-instance-for-ios-and-android-app, https://stackoverflow.com/questions/41107699/using-same-firebase-app-with-web-and-mobile-app, https://stackoverflow.com/questions/46185098/how-can-i-add-an-android-app-to-an-existing-firebase-project-that-is-already-in – Frank van Puffelen Mar 20 '19 at 14:16
  • It's possible to have multiple apps in different technologies within a single Firebase project. Just keep in mind that all apps within a project use the same databases, the same list of users, etc. – Frank van Puffelen Mar 20 '19 at 14:17

3 Answers3

4

You should create a single project with two applications, one for iOs and one for Android. There is no need to create two projects, one for each platfom.

If you also intend in the future to create a web app, you'll only have to create a new (web) project and that's it!

Alex Mamo
  • 130,605
  • 17
  • 163
  • 193
2

In Firebase, every projects you created, you can add as many applications as you want. An example below: Two Apps in the same project

Two Apps in the same project

You are given a choice of iOS, Android, UNITY,and Web App to add

2

Please see the Google firebase doc you can find the setup for both platforms

You dont need to create seprate project you can manage both in one project.

Tejas Shukla
  • 144
  • 7