[TIMOB-805] telephone numbers w/# don't work
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Medium |
| Status | Closed |
| Resolution | Invalid |
| Resolution Date | 2011-04-15T02:36:48.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | Release 1.4.0 |
| Components | iOS |
| Labels | n/a |
| Reporter | Nolan Wright |
| Assignee | Blain Hamon |
| Created | 2011-04-15T02:36:47.000+0000 |
| Updated | 2017-03-02T18:50:22.000+0000 |
Description
Titanium.Platform.openURL('tel:#31#4043332222');
from premium ticket:
http://helpdesk.appcelerator.net/tickets/2038">http://helpdesk.appcelerator.net/tickets/2038
Not sure to mark this as resolved or invalid. It turns out that the iPhone does not recognize tel urls that begin with the # character. In fact, it translates 'tel:123#45' into 'tel:123%2345' in short, use percent escapes of # (%23) instead.
Titanium.Platform.openURL('tel:%2331%234043332222') works fine.
Marking as invalid. Turns out this is intentional by the iPhone OS:
https://developer.apple.com/iphone/library/featuredarticles/iPhoneURLScheme_Reference/Articles/PhoneLinks.html"> https://developer.apple.com/iphone/library/featuredarticles/iPhoneU...
Using the %23 is an override to avoid links that use # as a security breach.
Closing as invalid.