Multiple firebase projects (conditionnaly load google-services)


Building an app with Ionic / Capacitor / Angular / Firebase.

Is there a way/example/recommandation from capacitor about how to work with multiple firebase projects (load the correct google-services.json/GoogleService-info.plist) ? As I prefer to not touch android/ios code, I was asking myself if is there any recommandation about this.

We have two firebase projects : one for production and another as sandbox.

We want to load the correct google file depending on the needed environment.

Thanks !