[TIMOB-28441] Android: Remove unneeded 10.0.0 deprecation warnings
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | Low |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2021-05-24T15:36:22.000+0000 |
Affected Version/s | Release 10.0.0 |
Fix Version/s | Release 10.0.1 |
Components | Android |
Labels | android, log, warning |
Reporter | Joshua Quick |
Assignee | Joshua Quick |
Created | 2021-05-07T04:59:10.000+0000 |
Updated | 2021-05-24T15:36:22.000+0000 |
Description
*Summary:*
Android logs deprecation warnings for some APIs that we no longer plan on removing or deprecating in Titanium. We should remove the warnings.
*Synchronous Stream Warnings:*
Blocking reads on files/stream/blobs will log a deprecation warning to use the async version of the APIs instead. We've never documented them as deprecated. Nor does iOS log any warnings for doing this. We should remove them.
Synchronous invocation of write will cause performance issues under the main thread. This will no longer be supported in SDK 10.0.0. Please invoke with a final callback function to receive the result.
https://github.com/appcelerator/titanium_mobile/blob/master/android/titanium/src/java/org/appcelerator/titanium/util/TiStreamHelper.java#L84-L88
https://github.com/appcelerator/titanium_mobile/blob/master/android/titanium/src/java/org/appcelerator/titanium/util/TiStreamHelper.java#L185-L189
PR (master): https://github.com/appcelerator/titanium_mobile/pull/12783
merged to master and 10_0_X branch for 10.0.1 target