How do you make two apps use the same database in firebase?

Asked

Viewed 521 times

0

good afternoon!

I’m starting in the world of mobile development. I would like to develop two apps. Where the A app records and reads certain data and this data is viewed (read only) by the B app. I’m using the Firebase service. Where do I begin??

  • 1

    Only create apps in the same firebase project

  • Thank you very much!!!

1 answer

1

Yes, it is possible. As @Matheus said in the comment above, a Firebase project may have "n" applications linked to it, and the database is linked to the project, not the application.

But even if the apps are not in the same project, you can access each other’s database. But in this case you will not use the json file you download from the console, and you will have to initialize everything manually in the app.

  • Thank you very much!!!

Browser other questions tagged

You are not signed in. Login or sign up in order to post.