[TIMOB-27740] TiAPI: Extend removal of deprecated get/set property methods from 9.0.0 to 10.0.0
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2020-02-07T22:13:20.000+0000 |
Affected Version/s | Release 8.0.0 |
Fix Version/s | Release 9.0.0 |
Components | Android, iOS |
Labels | android, deprecation, iOS, properties |
Reporter | Joshua Quick |
Assignee | Joshua Quick |
Created | 2020-01-28T01:21:48.000+0000 |
Updated | 2020-02-07T22:13:20.000+0000 |
Description
When your JS code invokes a get/set property method, such as
Label.getText()
and Label.setText()
instead of accessing the Label.text
property, the following warning will be logged.
[WARN] Proxy: Automatic setter methods for properties are deprecated in SDK 8.0.0 and will be removed in SDK 9.0.0.
We don't want to remove these method in Titanium 9.0.0.
We should extend the removal of these deprecated APIs from Titanium 9.0.0 to 10.0.0.
PR (master): https://github.com/appcelerator/titanium_mobile/pull/11455
FR passed.
Verified on: Mac OS: 10.15.1 SDK: 9.0.0.v20200207090043 Appc CLI: 7.1.2 JDK: 11.0.4 Node: 10.16.3 Studio: 6.0.0.201911251516 Xcode: 11.2 Device: Android emulator(v10.0), iOS simulator(v13.2.2)