Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-27740] TiAPI: Extend removal of deprecated get/set property methods from 9.0.0 to 10.0.0

GitHub Issuen/a
TypeImprovement
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2020-02-07T22:13:20.000+0000
Affected Version/sRelease 8.0.0
Fix Version/sRelease 9.0.0
ComponentsAndroid, iOS
Labelsandroid, deprecation, iOS, properties
ReporterJoshua Quick
AssigneeJoshua Quick
Created2020-01-28T01:21:48.000+0000
Updated2020-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.

Comments

  1. Joshua Quick 2020-01-28

    PR (master): https://github.com/appcelerator/titanium_mobile/pull/11455
  2. Satyam Sekhri 2020-02-07

    FR passed.
  3. Satyam Sekhri 2020-02-07

    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)

JSON Source