ArthurHub / ArthurHub/Android-Image-Cropper

Cropper crashes after selecting a picture and transitioning to crop view. - Android 9 (Pie)

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

Description

No Error message is given but the app crashes in the transition and returns to the screen it was on before the image-cropper is initiated.

`profilePicture?.setOnClickListener {
Log.d("CreateProfileFrag","Open picture selection")

//crop image to circle
if (context != null) {
CropImage.activity()
.setGuidelines(CropImageView.Guidelines.ON)
.setCropShape(CropImageView.CropShape.OVAL)
.start(activity!!)
}
}`

The cropper continues to work on lower versions of android. <=8 (Oreo)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.