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

Images don't load on Android 10+ #138

Open
ishaansrm opened this issue Jan 15, 2021 · 9 comments
Open

Images don't load on Android 10+ #138

ishaansrm opened this issue Jan 15, 2021 · 9 comments

Comments

@ishaansrm
Copy link

When targetSdkVersion is 29 or 30, the images don't load in the bottom sheet due to permissions failure (scoped storage in Android 10) even when WRITE_EXTERNAL_STORAGE permission is granted

@MoaazElneshawy
Copy link

have the same issue

@mustofa-al
Copy link

me too

@MoaazElneshawy
Copy link

@Dipak26
Copy link

Dipak26 commented Mar 1, 2021

set requestLegacyExternalStorage flag to true in the manifest file application tag then it works in API 29 for API 30 we need to change the code with scoped storage.

@MoaazElneshawy
Copy link

MoaazElneshawy commented Mar 1, 2021

<uses-permission
    android:name="android.permission.WRITE_EXTERNAL_STORAGE"
    tools:ignore="ScopedStorage" />

this works with me , just add it in manifest

@Dipak26
Copy link

Dipak26 commented Mar 1, 2021


Is this working with android 11 ?

@MoaazElneshawy
Copy link

I didn't test it , but I think it will work

@Destroyer716
Copy link

我也有这个问题,请作者能不能升级一下这个库,使其兼容Android10

@MoaazElneshawy
Copy link

I tested it on android 11 and it works for me

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

5 participants