cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Frederico Costa Galvão (JIRA) <>
Subject [jira] [Commented] (CB-11373) config.xml options not documented: android-packageName, android-activityName, ios-CFBundleIdentifier
Date Thu, 09 Jun 2016 21:40:20 GMT


Frederico Costa Galvão commented on CB-11373:

But there is a difference between them, Shazron.

For example, I'm evolving my cordova app into a whitelabel app, which can produce packaged
applications with different bundleIdentifiers/applicationIds so that they're unique in the
stores, but if I had to change the *id* root attribute, I'd have a completely different platform
folder for ios, and a quite different folder for android too. That's where that ios_CFBundleIdentifier
and changing the applicationId in gradle comes into: I can keep the source code (www) AND
most of the platform code the same, and still make them unique applications. It's very similar
to what the build **flavours** mean on android, as explained here:

For people who use the cli workflow completely and abide to the rule of not including the
platforms folder into version control, those settings change close to nothing (although my
experience trying to rename an application by changing its id on config.xml have been unsuccessfull,
for the platform outputs are not completely updated\[1\]). For people who use the platform
workflow, or use the cli workflow and keep platforms into version control (like me), having
the entire folder structure change because of an id seems unecessary.

However, android_packageName is not completely the same scenario. We'd need an android_aplicationId
to mirror what the bundleIdentifier does for iOS. I've already created an issue for that:

\[1] I've experienced iOS projects become uncompilable if I try to change the id and <name>
attributes. Not even readding the platform fixed it, but that's talk for another issue.

> config.xml options not documented: android-packageName, android-activityName, ios-CFBundleIdentifier
> ----------------------------------------------------------------------------------------------------
>                 Key: CB-11373
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Docs
>    Affects Versions: 6.2.0
>            Reporter: Frederico Costa Galvão
>            Priority: Minor
>              Labels: Android, documentation, iOS, triaged
> None of these options \[1\] are currently documented \[2\].
> I wonder how many of those hidden settings are there.
> \[1\]
> \[2\] (visited @ 03/06/2016
23:00:00 UTC)

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message