[TIMOB-16312] iOS 7: TextArea: Maps app is not launched if you select an address in a TextArea with property Ti.UI.AUTOLINK_ALL
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2014-01-28T22:11:43.000+0000 |
Affected Version/s | Release 3.2.0, Release 3.2.1 |
Fix Version/s | Release 3.2.1, Release 3.3.0 |
Components | iOS |
Labels | ios7, module_textarea, qe-3.2.1, qe-testadded |
Reporter | Wilson Luu |
Assignee | Sabil Rahim |
Created | 2014-01-25T00:29:00.000+0000 |
Updated | 2014-02-12T11:15:15.000+0000 |
Description
*Details:* When you create a TextArea with property autoLink set to Titanium.UI.AUTOLINK_ALL, then the iOS maps will not launch if you select an address in the text area.
*This is not a regression as this occurs in 3.2.0.GA and only occurs on an iOS 7 device.*
*Steps to reproduce:*
1. Install the following app.js to a iOS 7 device:
var win = Ti.UI.createWindow({
backgroundColor: 'white'
});
var ta = Ti.UI.createTextArea({
left : 5,
top : 5,
right : 5,
height : 180,
editable : false,
backgroundColor : '#ccc',
autoLink : Titanium.UI.AUTOLINK_ALL,
value : 'Contact\n\n test@test.com\n\n 817-555-5555\n\n http://bit.ly\n\n 444 Castro Street, Mountain View, CA'
});
win.add(ta);
win.open();
2. Press on the address
*Actual:* Maps does not get launched.
*Expected:* Maps should be launched after pressing on the address.
Is there a workaround?
Not that I can tell yet. The app refuses to launch the iOS Maps even if you put the address on its own line.
master: https://github.com/appcelerator/titanium_mobile/pull/5276 3_2_X : https://github.com/appcelerator/titanium_mobile/pull/5277
Verified fixed on: Mac OSX 10.9.1 Appcelerator Studio, build: 3.2.1.201401281409 Titanium SDK, build: 3.2.1.v20140130101648 CLI: 3.2.1-beta3 Alloy: 1.3.1-beta4 Maps is launched when address is clicked. Closing.