Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-27381] Android: Allow requestLegacyExternalStorage attribute on AndroidManifest.xml

GitHub Issuen/a
TypeImprovement
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2019-10-03T11:16:21.000+0000
Affected Version/sn/a
Fix Version/sRelease 8.3.0
ComponentsAndroid
Labelsandroid, manifest, xml
ReporterJorge Macias Garcia
AssigneeGary Mathews
Created2019-09-05T12:10:23.000+0000
Updated2019-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)

Comments

  1. Joshua Quick 2019-09-05

    This is Android Q related and needs to be done in Titanium 8.3.0. [~jormagar], thanks for bringing this to our attention.
  2. Joshua Quick 2019-09-12

    PR (master): https://github.com/appcelerator/titanium_mobile/pull/11205
  3. Keerthi Mahalingam 2019-09-16

    FR passed.Waiting on Jenkins.
  4. Keerthi Mahalingam 2019-09-16

    PR merged.
  5. Ebenezer Boateng 2019-10-03

    Improvement verified in SDK version 8.3.0.v20191002165629

JSON Source