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

0

Good afternoon!

I'm starting in the mobile development world. I would like to develop two apps. Where app A writes and reads certain data, and that data is viewed (read-only) by app B. I am using the Firebase service. Where do I start ??

    
asked by anonymous 16.10.2017 / 20:15

1 answer

1

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

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

    
17.10.2017 / 13:09