TedBottomPicker icon indicating copy to clipboard operation
TedBottomPicker copied to clipboard

Images don't load on Android 10+

Open ishaansrm opened this issue 4 years ago • 9 comments

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

ishaansrm avatar Jan 15 '21 10:01 ishaansrm

have the same issue

MoaazElneshawy avatar Jan 26 '21 06:01 MoaazElneshawy

me too

mustofa-al avatar Feb 02 '21 10:02 mustofa-al

MoaazElneshawy avatar Feb 02 '21 11:02 MoaazElneshawy

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.

Dipak26 avatar Mar 01 '21 10:03 Dipak26

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

this works with me , just add it in manifest

MoaazElneshawy avatar Mar 01 '21 11:03 MoaazElneshawy

Is this working with android 11 ?

Dipak26 avatar Mar 01 '21 11:03 Dipak26

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

MoaazElneshawy avatar Mar 01 '21 11:03 MoaazElneshawy

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

Destroyer716 avatar Mar 06 '21 07:03 Destroyer716

I tested it on android 11 and it works for me

MoaazElneshawy avatar Mar 09 '21 15:03 MoaazElneshawy