Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-13982] iOS: URL Scheme is invalid if it contains umlauts or begins with a digit

GitHub Issuen/a
TypeBug
PriorityLow
StatusOpen
ResolutionUnresolved
Affected Version/sRelease 3.1.0
Fix Version/sn/a
ComponentsiOS
Labelsn/a
ReporterChristopher Beloch
AssigneeUnknown
Created2013-05-24T16:04:38.000+0000
Updated2018-02-28T20:03:12.000+0000

Description

The current URL Scheme is based on the app-name. Is this used internally in the rest of the TiSDK or just to give all apps an option to open the app via an URL? The problem is, if it contains umlauts (ä,ö,ü etc.) or begins with a digit, it's invalid. You can't submit your app to the iOS App Store. If the URL-Scheme isn't used somewhere internally, then i think you could remove this part and leave the option up to the developer, if he wants is app to be opened via an URL by extending the part in tiapp.xml. If it is used internally, both parts (generating, and creating links / listeners internally) should be patched to transform the appname to a valid urlscheme. This Regular Expression should match all invalid characters:
[\d\s\W]
another thing on replacing the characters with maybe nothing is to replace umlauts to the corresponding replacements (ö => oe, ü => ue etc)

Comments

No comments

JSON Source