cordova-plugin-firebase icon indicating copy to clipboard operation
cordova-plugin-firebase copied to clipboard

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

Open LifeEternal opened this issue 5 years ago • 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.

LifeEternal avatar Jan 08 '20 20:01 LifeEternal

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).

sagits avatar Apr 15 '20 19:04 sagits