Hi, I am using Appflow to build my Android package.
I notice that selecting the Build Type : Release , will not trigger the ‘production’ option under angular.json.
I need to have two env for firebase testing. Am I missing a step or should it be this way?
You may want to set up some environment variable using Appflow’s Automate->Environment
For example, set up a variable, $BUILD_ENV, assign it ‘production’, and refer to it in the package.json.
Thank you for the very fast reply. Unfortunately it is hard for me to justify moving to the growth plan for this feature.
Looking over the build script I can now see that Appflow logs:
[12:14:46]: Successfully added Android platform
[12:14:46]: Building android…
[12:14:46]: $ cordova build android --release
Would changing the package.json script to
“build”: “ng build --prod”
affect the Appflow build command?