cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raphael (JIRA)" <>
Subject [jira] [Updated] (CB-10444) App ID "reserved" words undocumented and too restrictive
Date Mon, 25 Jun 2018 18:33:00 GMT


Raphael updated CB-10444:
    Component/s:     (was: cordova-lib)

> App ID "reserved" words undocumented and too restrictive
> --------------------------------------------------------
>                 Key: CB-10444
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-create
>    Affects Versions: 5.4.0
>         Environment: MacOS X 10.10.5, Yosemite, Cordova CLI 5.4.1
>            Reporter: Jan Chalupa
>            Priority: Minor
> Running the following 'cordova create' command results in an error:
> $ cordova create MyApp      
> Error: App id contains a reserved word, or is not a valid identifier.
> First, the error message does not tell me which of the words in the specified app id
is reserved. I figured out it was "internal" by trial and error. I tried to search the documentation
for the list of reserved words, but could not find anything.
> Secondly, I think the list of "reserved" words is unnecessarily restrictive. I do not
see why "internal" should be banned from the app id. In fact, the team provisioning profile
we use for internal iOS development in our company requires us to use an app id which includes
> It looks like Cordova uses the valid-identifier package to decide if a word used in the
app id is reserved.
> This means that no Java keyword or reserved word can appear as part of the app id. I
am not sure that's correct for the domain names used as the app/widget id's.
> Interestingly, this also means that Cordova rejects to create project with an app id
like '' even though it would be a perfectly valid domain for India. The
problem is that "in" happens to be a reserved word too. Someone complained about it here:

This message was sent by Atlassian JIRA

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

View raw message