Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-15994] Titanium.UI.AUTOLINK_PHONE_NUMBERS not working on android >= 4.3

GitHub Issuen/a
TypeBug
Priorityn/a
StatusOpen
ResolutionUnresolved
Affected Version/sn/a
Fix Version/sn/a
ComponentsAndroid
Labelsandroid
ReporterIbrahim Bakayoko
AssigneeUnknown
Created2013-12-11T13:26:42.000+0000
Updated2018-02-28T20:04:00.000+0000

Description

autoLink property on the label is not working on android >= 4.3 var win1 = Titanium.UI.createWindow({ backgroundColor : '#fff' }); var label2 = Titanium.UI.createLabel({ color : '#999', text : '800900800', autoLink : Titanium.UI.AUTOLINK_PHONE_NUMBERS, font : { fontSize : 20, fontFamily : 'Helvetica Neue' }, textAlign : 'center', width : 'auto' }); win1.add(label2); win1.open(); Clicking on the label "800900800" should open the phone dialer. Code working has expected on android <= 4.2 but not working on android >= 4.3

Comments

  1. Ritu Agrawal 2013-12-15

    I can reproduce this issue with Titanium 3.1.3 SDK. Sample code provided here works fine with Android 4.0.4 simulator but not with Android 4.4.0 simulator.
  2. jithinpv 2014-09-10

    Issue reproduces Titanium SDK version 3.4.0 master, 3.1.3.v20130908095038 Titanium Studio, build: 3.3.0.201407100905 Titanium Command-Line Interface CLI version 3.3.0, Android device : Motorola Moto G, Android version : 4.4.4
  3. steven 2015-01-05

    According to this post: http://stackoverflow.com/questions/21538201/androidautolink-not-working-fully-on-my-4-4-device Phone numbers with 10 digits or above and having a '+' sign in the beginning will works. It works for me on both Android version from 4.0 to 4.4.x

JSON Source