Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[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 Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2014-01-28T22:11:43.000+0000
Affected Version/sRelease 3.2.0, Release 3.2.1
Fix Version/sRelease 3.2.1, Release 3.3.0
ComponentsiOS
Labelsios7, module_textarea, qe-3.2.1, qe-testadded
ReporterWilson Luu
AssigneeSabil Rahim
Created2014-01-25T00:29:00.000+0000
Updated2014-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.

Comments

  1. Ingo Muschenetz 2014-01-27

    Is there a workaround?
  2. Wilson Luu 2014-01-27

    Not that I can tell yet. The app refuses to launch the iOS Maps even if you put the address on its own line.
  3. Sabil Rahim 2014-01-28

    master: https://github.com/appcelerator/titanium_mobile/pull/5276 3_2_X : https://github.com/appcelerator/titanium_mobile/pull/5277
  4. Samuel Dowse 2014-01-30

    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.

JSON Source