Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
emanuelb opened this issue Feb 24, 2021 · 0 comments

Comments

@emanuelb
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant