-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
FileUriExposedException: #659
FileUriExposedException: #659
Comments
Hi @ArthurHub @mradzinski @unverbraucht @Vantablack @gazialankus any chance we can get a fix for this? This is crashing expo apps and bare apps on any Android device running API 24 or later and we can't use the camera there. See the attached expo issue. Any way I can help? I can test on device or I'd be willing to provide a $ cash bug bounty to fix this if that helps. :-) I'd offer a PR myself but my Android skills are weak. |
I'm experiencing this crash using the sample app on Android Q Beta 4 |
@ArthurHub I also hit this crash on the Android Q beta 4. Is it possible for you to merge the PR from @annatindall and issue a 2.9.0 release of imagecropper. I am keen to get my app tested and working on Android Q before the final version of Q is released. Thanks. |
Hi @ArthurHub any news on when you might be able to release an update including this fix, thanks. |
I have this error..
Caused by: android.os.FileUriExposedException: file:///storage/emulated/0/Android/data/com.soin.TSA/cache/pickImageResult.jpeg exposed beyond app through ClipData.Item.getUri()
Looks like this happens on Android N
The method getCaptureImageOutputUri() use Uri.fromFile
The text was updated successfully, but these errors were encountered: