Titanium JIRA Archive
Appcelerator Community (AC)

[AC-3238] New app wizard doesn't allow URLs or app IDs to contain a hyphen

GitHub Issuen/a
TypeImprovement
Priorityn/a
StatusResolved
ResolutionInvalid
Resolution Date2014-05-22T04:53:13.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsn/a
ReporterAjai Khattri
AssigneeRitu Agrawal
Created2014-05-20T20:11:43.000+0000
Updated2016-03-08T07:57:39.000+0000

Description

Steps to Reproduce

1. File -> New -> New Mobile App 2. Select a template 3. Fill out the app details but use a hyphen in the company url

Actual Result

Observe the malformed URL error message at the top and the greyed out inactive Finish button bottom-right.

Expected Result

URL field should accept any characters that can be used inside a domain name.

Attachments

FileDateSize
.log2014-05-20T20:11:44.000+00003563
diagnostic5497978299198273904.log2014-05-20T20:11:46.000+000013857

Comments

  1. Ritu Agrawal 2014-05-21

    "App Id" field allows only alpha numeric and "." characters while "Company/Personal URL" allows other characters including hyphen. I am not sure which field you are referring to in your case. Please clarify as hyphen in "Company/Personal URL" works fine.
  2. Ajai Khattri 2014-05-21

    I was trying to use our domain name in the app ID and that has hyphens in it (I figured, just like package names in Java, using a domain name as an app ID would guarantee its uniqueness). Can I ask why we have this limitation?
  3. Ritu Agrawal 2014-05-22

    This limitation is because of the fact that iOS and Android platforms support different characters for the application ID. In addition to alphanumeric characters, iOS support only hyphen but Android supports only underscore. Hyphen is not standard across all platforms. http://developer.android.com/guide/topics/manifest/manifest-element.html#package https://developer.apple.com/library/ios/documentation/IDEs/Conceptual/AppDistributionGuide/ConfiguringYourApp/ConfiguringYourApp.html

JSON Source