[AC-6414] setTimeout functions shows deprecated warning
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Done |
Resolution Date | 2019-12-21T07:26:22.000+0000 |
Affected Version/s | Appcelerator Studio 4.5.0 |
Fix Version/s | n/a |
Components | Alloy |
Labels | n/a |
Reporter | Sebastian Klaus |
Assignee | Aminul Islam |
Created | 2019-10-24T08:31:42.000+0000 |
Updated | 2019-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;
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