ArthurHub / ArthurHub/Android-Image-Cropper

Android 9 crashes on camera

Open
#718 2 comments 2 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
6.4k
Forks
1.4k
PR merge metrics
No merged PRs in 30d

Description

After capturing an image using the camera and click OK then it's crash and throwing this exception ..
android.os.FileUriExposedException: file:///storage/emulated/0/Android/data/${applicationId}/cache/pickImageResult.jpeg exposed beyond app through Intent.getData()

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the Android 9 camera flow: capture an image, click OK, and inspect the path that passes the cached image to Intent.getData(). Done means the camera flow completes without throwing FileUriExposedException.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.