Open laurentyhuel opened 4 years ago
In my package.json, I have multiple scripts to build Android (and iOS) to choose my angular environment file
My package.json:
"foo-mobile:android-build-int": "ionic cordova build android --prod --release --configuration=integration-cordova", "foo-mobile:android-build-int-api": "ionic cordova build android --prod --release --configuration=integration-cordova-api", "foo-mobile:android-build-qua": "ionic cordova build android --prod --release --configuration=qualif-cordova", "foo-mobile:android-build": "ionic cordova build android --prod --release --configuration=production-cordova",
My angular.json:
"qualif-cordova": { "fileReplacements": [ { "replace": "foo-mobile/src/environments/environment.ts", "with": "foo-mobile/src/environments/environment.qua.ts" } ],
How to pass specific parameters with Fastfile ?
My Fastfile:
platform :android do desc "Build beta" lane :beta do ionic( platform: 'android', #prod: true, release: true,
This is not possible yet - there is no param to pass rudimentary parameters to the ionic command. I would be happy to merge a Pull Request adding this though.
ionic
I create this PR : #51
In my package.json, I have multiple scripts to build Android (and iOS) to choose my angular environment file
My package.json:
My angular.json:
How to pass specific parameters with Fastfile ?
My Fastfile: