You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On my project, a cordova prepare step can take a lot of time (mainly because of cocoapods which takes minutes to install all required dependencies for some of my plugins)
At the same time, I have the need to generate multiple flavours of the same app id (see it as a white-labelled app) based on exactly the same source code.
Currently, I am updating app id in config.xml and generating my whole build (cordova prepare then cordova run android --device --release) but it takes a lot of time only for a simple key change.
I was wondering if a CLI command allowing to perform this, either after we ran cordova prepare or, still better, to update and re-sign the generated artefacts (ipa, apk, aab and so on) after their generation would be a feature worth to consider in the CLI ?
I know there was some other issues on the same topic in the past here : #463 and #528 (and I looked at @dpogue 's seymour) but for me, this is a different feature here (but I'm aware this won't be something easier than the other issues... I suppose this may require a lot of changes from platforms to take care of this CLI change)
Feature Description
A CLI allowing to change app id on either the workspace, or an artefact :
I don't see this breaking things as this would be a new command.
However, this new command would have to be taken into consideration in the Platforms CLI API as every platform (and potentially, plugins) may use the app id in their files generation (even file names may be considered so ... potentially a lot of side effects to take into consideration)
Alternatives or Workarounds
Current workaround is to sed into config.xml, then cordova clean && cordova prepare && cordova run again (which takes a looooot of time in my CI.
The text was updated successfully, but these errors were encountered:
Feature Request
Motivation Behind Feature
On my project, a
cordova prepare
step can take a lot of time (mainly because of cocoapods which takes minutes to install all required dependencies for some of my plugins)At the same time, I have the need to generate multiple flavours of the same app id (see it as a white-labelled app) based on exactly the same source code.
Currently, I am updating app id in
config.xml
and generating my whole build (cordova prepare
thencordova run android --device --release
) but it takes a lot of time only for a simple key change.I was wondering if a CLI command allowing to perform this, either after we ran
cordova prepare
or, still better, to update and re-sign the generated artefacts (ipa, apk, aab and so on) after their generation would be a feature worth to consider in the CLI ?I know there was some other issues on the same topic in the past here : #463 and #528 (and I looked at @dpogue 's seymour) but for me, this is a different feature here (but I'm aware this won't be something easier than the other issues... I suppose this may require a lot of changes from platforms to take care of this CLI change)
Feature Description
A CLI allowing to change app id on either the workspace, or an artefact :
I don't see this breaking things as this would be a new command.
However, this new command would have to be taken into consideration in the Platforms CLI API as every platform (and potentially, plugins) may use the app id in their files generation (even file names may be considered so ... potentially a lot of side effects to take into consideration)
Alternatives or Workarounds
Current workaround is to
sed
intoconfig.xml
, thencordova clean && cordova prepare && cordova run
again (which takes a looooot of time in my CI.The text was updated successfully, but these errors were encountered: