For those people who have built multiple firebase apps (i.e. requiring multiple google.plist/json files) from a single codebase, do you have any best practices on doing this? Specifically, I'm assuming that you have a folder somewhere with all of your plist/json files for what would be 3 apps in our case, and any time you "activate" a project you copy the appropriate plist and json to the correct name (which firebase looks for) and set projectsettings.bundleId.
- How do you handle your project switching when working in the editor - an editor menu option that copies the correct plist file into place and changes bundle id?
- How do you handle not accidentally polluting the wrong project with analytics from a current project during development - a check of FirebaseApp settings on startup?
- How do you handle continuous builds - just by copying the plist/json file in a prebuild step?
It would be great if anyone could give specifics, because the details of handling switching something just by copying a file can often by rather more subtle and surprising than you'd think when dealing with two very large subsystems (unity and firebase), both of which have quite a lot of machinery and expectations about how assets/projects work.