using .crop doesn't work corectly
DevTard opened this issue · 5 comments
When using .crop, it opens the camera, when you take a picture it opens the crop screen and opens the camera again.
I have the same issue, can you please provide a fix
This seems to be device dependent. Or more specifically, dependent on the Camera App.
It is happening to me as well in the Android Emulator (29.3.7), but it does not happen on my LG G8S.
After further investigation:
It only happens in some devices (maybe it is Android 10+ related), and only when using InlineActivityResult.
I replaced InlineActivityResult with the old-fashioned approach, and it worked flawlessly.
I think this issue should be renamed, as it isn't .crop()
related.
The issue is in InlineActivityResult lib. I have submitted a [pull request (https://github.com/florent37/InlineActivityResult/pull/13), Which is recently merged in their master branch. Now, Waiting for the new release.
Pull Request has been merged, So upgrading Gradle for the fixes.