I would like to partition my app user data into separate firebase databases (due to discrete regional activity), but I'd like to only have a single app and change the database target programmatically. The data is secured behind firebase auth (google currently) but I am considering starting with anonymous with optional google auth.
Since the firebase functions rely on the google-services.json for a specific fb database, it seems that only one firebase target would be available per app.
If there a way around this? can multiple google-services.json content be concatenated in a single file and the app choose which target to utilize?
Is it possible to manipulate the google-services project data at runtime?
I also have a use case where I would allow the app user to target their own personal firebase databases, user supplied if you will.
Reference:
https://firebase.googleblog.com/201...iple-firebase-projects-in-an-android-app.html
Since the firebase functions rely on the google-services.json for a specific fb database, it seems that only one firebase target would be available per app.
If there a way around this? can multiple google-services.json content be concatenated in a single file and the app choose which target to utilize?
Is it possible to manipulate the google-services project data at runtime?
I also have a use case where I would allow the app user to target their own personal firebase databases, user supplied if you will.
Reference:
https://firebase.googleblog.com/201...iple-firebase-projects-in-an-android-app.html
Last edited: