Skip to content
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

[Crash] When picking a camera image without setting crop() #96

Open
ZahraHeydari opened this issue May 8, 2023 · 1 comment
Open

[Crash] When picking a camera image without setting crop() #96

ZahraHeydari opened this issue May 8, 2023 · 1 comment

Comments

@ZahraHeydari
Copy link

This happens when removing crop() from picking camera image.

fun pickCameraImage(view: View) {
        cameraLauncher.launch(
            ImagePicker.with(this)
                //.crop()
                .cameraOnly()
                .maxResultSize(1080, 1920, true)
                .createIntent()
        )
}

Screenshot 2023-05-08 at 11 55 05 PM

@hgarciaalberto
Copy link

That happened to me due to .maxResultSize, can you check deleting that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants