ParkSangGwon / TedBottomPicker

TedBottomPicker is simple image picker using bottom sheet
1.11k stars 185 forks source link

Images don't load on Android 10+ #138

Open ishaansrm opened 3 years ago

ishaansrm commented 3 years ago

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 commented 3 years ago

have the same issue

mustofa-al commented 3 years ago

me too

MoaazElneshawy commented 3 years ago

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

Dipak26 commented 3 years ago

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 commented 3 years ago
<uses-permission
    android:name="android.permission.WRITE_EXTERNAL_STORAGE"
    tools:ignore="ScopedStorage" />

this works with me , just add it in manifest

Dipak26 commented 3 years ago

<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" tools:ignore="ScopedStorage" /> Is this working with android 11 ?

MoaazElneshawy commented 3 years ago

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

Destroyer716 commented 3 years ago

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

MoaazElneshawy commented 3 years ago

I tested it on android 11 and it works for me