Open mpadhiar opened 6 years ago
@jamesmontemagno i have investigated this issue and turns out that the MediaPickerActivity on android doesnt request a persistent URI and hence once the activity finishes the access to the URI is no longer valid.
Issue Still Open? has anyone found the solution?
I am trying to use the Album Path returned by pick media on android. I can see that a content uri is returned but when i try to use that content uri to query file gallery path or either open input stream from that a security exception is returned. Is there a way i can consume this uri ?
Exception: opening provider com.google.android.apps.photos.contentprovider.MediaContentProvider from ProcessRecord{25e87b7 20432:com.badiyajobs.app/u0a389} (pid=20432, uid=10389) that is not exported from uid 10107