HBiSoft / PickiT

An Android library that returns real paths from Uri's

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

EAccess Denied to path on Android 11

bssit1745 opened this issue · comments

While using library on android less than 10 its working fine but as you go above 11 it returns path but also show error EAccess Denied while picking pdf

PickiT version
2.0.5

commented

This issue has been automatically marked as stale because it has not had activity in the last 14 days. It will be closed if no further activity occurs within the next 3 days. Thank you for your contributions.

Apologies for the late reply. This is most probably caused by not adding the following in your manifest:

<manifest ... >
  <application 
    android:requestLegacyExternalStorage="true" 
  </application>
</manifest>

If you are still having issues with this, please reopen the issue and provide more info on the issue.
Thanks

requestLegacyExternalStorage is not working on Android 11.

You must use a new permission as I have stated in this comment -> #55 (comment)