Due to legacy factors, the package names of my Android and iOS apps are different. Currently Cordova seems to be injecting the widget id attribute from config.xml into both when building. Is there no way to customize this? If I edit the AndroidManifest.xml directly, I expect it will get overwritten pretty soon.
Thanks.
This is now built into CLI (finally):
In you your config.xml file-
Example:
<widget
android-packageName="com.example.android"
ios-CFBundleIdentifier="com.example.ios">
Source:
https://github.com/apache/cordova-lib/blob/master/cordova-lib/src/configparser/ConfigParser.js#L92
Edit: (Cordova-Lib has since been moved)