[TIMOB-13982] iOS: URL Scheme is invalid if it contains umlauts or begins with a digit
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Open |
Resolution | Unresolved |
Affected Version/s | Release 3.1.0 |
Fix Version/s | n/a |
Components | iOS |
Labels | n/a |
Reporter | Christopher Beloch |
Assignee | Unknown |
Created | 2013-05-24T16:04:38.000+0000 |
Updated | 2018-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)
No comments