Skip to content

Change android:requestLegacyExternalStorage="true" to false for enforced scoped storage usage #11

@emanuelb

Description

@emanuelb

From AndroidManifest:

android:requestLegacyExternalStorage="true">

change the setting to false! in order to use scoped storage that limit not needed access of the app to user data, which is less secure!
also the below change is needed (the addition of android:maxSdkVersion="28" to WRITE_EXTERNAL_STORAGE permission)

<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"
                 android:maxSdkVersion="28" />

see: https://developer.android.com/training/data-storage/shared/media#request-permissions

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions