[AC-3238] New app wizard doesn't allow URLs or app IDs to contain a hyphen
GitHub Issue | n/a |
Type | Improvement |
Priority | n/a |
Status | Resolved |
Resolution | Invalid |
Resolution Date | 2014-05-22T04:53:13.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | n/a |
Reporter | Ajai Khattri |
Assignee | Ritu Agrawal |
Created | 2014-05-20T20:11:43.000+0000 |
Updated | 2016-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
"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.
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?
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