Skip to content

Conversation

irekrog
Copy link
Contributor

@irekrog irekrog commented Sep 11, 2025

Description

Improved error handling in the Android crop result handler to provide more specific error messages when image cropping fails.

Changes

  • Enhanced error message in croppingResult() method to include specific UCrop error details when available
  • Changed generic "Cannot find image data" message to include the actual UCrop error or specify that output URI is null
  • Better debugging experience for developers when cropping operations fail

Before

Cannot find image data

After

Cannot find image data. UCrop error: [specific error message]

example:
Cannot find image data. UCrop error: x must be >= 0

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

Successfully merging this pull request may close these issues.

1 participant