Cropping issue on some devices
See original GitHub issue- Lib Version 3.3.6, 4.3.1
Describe the bug
Cropping flow fails in some cases after taking a photo on some devices. We have reproduced it on Samsung devices. Usually it’s reproduced if a user switches cameras and then takes a photo, but sometimes we get the same result with no camera switch.
In our app with the lib integrated the following result is logged - cropping has been cancelled by the user
To Reproduce Steps to reproduce the behavior:
- Open the sample app on a Samsung device. The issue is definitely reproduced on Samsung S21+ with Android 12 here - Samsung Remote Test Lab
- Click on
Sample Calling CropImage
->Call Liabrary Directly Without URI
->Camera
-> switch cameras -> take a photo and pressOK
Expected behavior Correct cropping flow
Media
Smartphone (please complete the following information):
- Device: [Samsung S21/S21+]
- OS: [Android 12]
Additional context It seems like the context for getting a photo image doesn’t survive in most of the cases on Samsung devices. I have no such issue on Pixel 4A.
Issue Analytics
- State:
- Created a year ago
- Comments:9 (6 by maintainers)
Top Results From Across the Web
Getting Black Screen while cropping in some devices. #812
For some specific devices , when we change the crop window area then we see a black screen sometimes, also when we start...
Read more >Fix Image Crop Issue on Android Devices - Squarespace Forum
I've recently launched this website, and have been informed that some of the images are cropping on Android devices (see below screenshot).
Read more >Android bug: Crop intent works on some devices
1 Answer 1 ... The com.android.camera.action.CROP is part of the internal API so it is not guaranteed to be supported by all Android...
Read more >Cropping pictures does not change the siz… - Apple Community
I was trying to free up space by cropping some of the pics, since many have just the key point of interest in...
Read more >Fix cropped and zoomed in screen - Microsoft Community
I'm Jerico T., one of the Independent Advisor and a fellow Windows 10 user like you. I understand that you're having some issues...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hey @ksk-tech not yet. I started a new job as manager on the last weeks
Basically, my time has been reduced a lot. But I didn’t forget this. I just need to find time to make this volunteer work ^^
Sad to say, but capitalism force me to focus where the money comes in hahahaha
Back from holidays, will check ASAP