[
https://issues.apache.org/jira/browse/CB-11373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15323419#comment-15323419
]
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:
http://tools.android.com/tech-docs/new-build-system/applicationid-vs-packagename.
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:
https://issues.apache.org/jira/browse/CB-11374
\[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: https://issues.apache.org/jira/browse/CB-11373
> 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\]
> https://github.com/apache/cordova-lib/blob/9f630271d9c02824c0031ea4cdc0e4955b53d9e2/cordova-common/src/ConfigParser/ConfigParser.js#L99-L107
> \[2\] https://cordova.apache.org/docs/en/latest/config_ref/index.html
> (visited @ 03/06/2016 23:00:00 UTC)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]