[TIMOB-27381] Android: Allow requestLegacyExternalStorage attribute on AndroidManifest.xml
| GitHub Issue | n/a |
|---|---|
| Type | Improvement |
| Priority | Critical |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2019-10-03T11:16:21.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | Release 8.3.0 |
| Components | Android |
| Labels | android, manifest, xml |
| Reporter | Jorge Macias Garcia |
| Assignee | Gary Mathews |
| Created | 2019-09-05T12:10:23.000+0000 |
| Updated | 2019-10-03T11:16:21.000+0000 |
Description
On the build process Titanium CLI removes *requestLegacyExternalStorage* attribute on application tag.
It can be solved adding it to "ti-sdk-version/android/cli/lib/AndroidManifest.js" file at line 27 (allowed attributes)
This attribute is required by apps who are not prepared to new Android 10 scoped storage feature yet.
[https://developer.android.com/training/data-storage/files/external-scoped#opt-out-of-scoped-storage](https://developer.android.com/training/data-storage/files/external-scoped#opt-out-of-scoped-storage)
This is Android Q related and needs to be done in Titanium 8.3.0. [~jormagar], thanks for bringing this to our attention.
PR (master): https://github.com/appcelerator/titanium_mobile/pull/11205
FR passed.Waiting on Jenkins.
PR merged.
Improvement verified in SDK version 8.3.0.v20191002165629