ArthurHub / ArthurHub/Android-Image-Cropper

result.getUri() is null in onCropImageComplete

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

Description

Hi , this is my implemention

caller :
```
Intent intent = new Intent(activity.getApplicationContext(), ImageCropperActivity.class);
intent.setData(imageUri);
activity.startActivityForResult(intent, requestCode);
```

cropper activity:
```
Intent intent = getIntent();
imageUri = intent.getData();
imgCropper.setImageUriAsync(imageUri);
imgCropper.setOnCropImageCompleteListener(this);
```
perform crop:
```
imgCropper.getCroppedImageAsync();
```

now in onCropImageComplete the result.getUri() is null, where is problem?

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.