arnesson/cordova-plugin-firebase

Is it possible to load the google-services files for both platforms dinamicaly?

LifeEternal opened this issue · 1 comments

I'm working with outsystems which is a low code platform, and i've been trying to implement this plugin there. However I'm trying to have the right google services files for android/iOS based on the enviornment(dev,qa,prod).
I've looked a bit into hooks, however I'm still not able to write one to do such thing.

Hi @LifeEternal, if you are using Ionic, you can use some angular.json configurations to replace the files that are in the root of your project (google-services.json/.plist) based on the angular environment (dev/prod).