[TIMOB-27873] Android: Remove "nineoldandroids" library from SDK
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | Low |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2020-11-20T15:43:00.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 9.3.0 |
Components | Android |
Labels | android, animation, java, library, sdk |
Reporter | Joshua Quick |
Assignee | Joshua Quick |
Created | 2020-04-29T21:33:26.000+0000 |
Updated | 2020-11-20T15:43:00.000+0000 |
Description
*Summary:*
The Titanium SDK includes a "nineoldandroids-appc-2.4.0.jar" library used to back-port Google's Android 3.0 animation APIs on older Android OS versions. This library is no longer needed since Titanium's min Android OS version is 4.4.
https://github.com/JakeWharton/NineOldAndroids
*To-Do:*
Remove the JAR from here...
https://github.com/appcelerator/titanium_mobile/tree/master/android/titanium/lib
Switch to using Google's official Animation classes in...
[TiAnimationBuilder.java](https://github.com/appcelerator/titanium_mobile/blob/master/android/titanium/src/java/org/appcelerator/titanium/util/TiAnimationBuilder.java)
Remove
ViewHelper
class usage from...
* [TiUIView.java](https://github.com/appcelerator/titanium_mobile/blob/master/android/titanium/src/java/org/appcelerator/titanium/view/TiUIView.java)
* [TiBorderWrapperView.java](https://github.com/appcelerator/titanium_mobile/blob/master/android/titanium/src/java/org/appcelerator/titanium/view/TiBorderWrapperView.java)
PR (9.3.x): https://github.com/appcelerator/titanium_mobile/pull/11970
FR Passed, Waiting on Jenkins build.
*Closing ticket*. Improvement verified in SDK version
9.3.0.v20201119063936
. Test and other information can be found at: https://github.com/appcelerator/titanium_mobile/pull/11970