Problem Description
When the user uses Ti.UI.AUTOLINK_ALL in the TextArea in iOS, the automated autolink will show the url and the phone in an URL fashion, and it's clickeable, but never will happen when you click on it.
Test Case
var myView = Ti.UI.createView({});
var myText= Ti.UI.createTextArea({
value: "Mywebsite: http://mywebsite.com \n phone: 555-55-5555",
top:15,
left:10,
right:10,
textAlign:'center',
editable:false,
autoLink: Ti.UI.AUTOLINK_ALL,
font: {fontSize:15},
tintColor:'#9400d3',
});
alert( Ti.UI.AUTOLINK_ALL);
myView.add(myText);
var win = Ti.UI.createWindow({backgroundColor:'white'});
win.add(myView);
win.open();
Steps to reproduce
1. Create a new mobile project (Classic Titanium) with Mobile SDK 3.2.0
2. Paste the test case into app.js
3. Compile into the simulator.
4. Click on the url, won't open Safari.
Extra info
If you test this with 3.1.3.GA, it will work as expected.
Pull pending against master - https://github.com/appcelerator/titanium_mobile/pull/5203 3_2_X - https://github.com/appcelerator/titanium_mobile/pull/5204
Closing ticket as fixed. Verified that I was able to launch the mobile Safari browser after pressing on the url link. Also, was able to verify pressing the phone number link will try to make a phone call. Tested on: Appcelerator Studio, build: 3.2.1.201401151647 SDK build: 3.2.1.v20140117222448, 3.3.0.v20140117222449 CLI: 3.2.1 (git://github.com/appcelerator/titanium.git#3_2_X) Xcode: 5.0.2 Devices: iphone 5 (6.1.3), iphone 5 (7.0.2), iphone simulator (6.1), iphone simulator (7.0.3)