Titanium JIRA Archive
Appcelerator Community (AC)

[AC-6414] setTimeout functions shows deprecated warning

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionDone
Resolution Date2019-12-21T07:26:22.000+0000
Affected Version/sAppcelerator Studio 4.5.0
Fix Version/sn/a
ComponentsAlloy
Labelsn/a
ReporterSebastian Klaus
AssigneeAminul Islam
Created2019-10-24T08:31:42.000+0000
Updated2019-12-21T07:26:22.000+0000

Description

Using the setTimeout function throws a warning that the setter methods will be deprecated in 9.0.0
Automatic setter methods for properties are deprecated in SDK 8.0.0 and will be removed in SDK 9.0.0. Please modify the property in standard JS style: obj.timeout = value; or obj['timeout'] = value;

Comments

  1. Aminul Islam 2019-12-20

    Hello! I believe this is known issue. As of Titanium 8.0.0, Java property get/set methods are deprecated. Calling a property getter or setter method still works.Please access the property in standard JS style. Thanks

JSON Source