-
-
Notifications
You must be signed in to change notification settings - Fork 240
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
[BUG] - No crop option after camera #24
Comments
Error seems to be "Failed to load sampled bitmap: content://package.cropper.fileprovider/my_images/Pictures/pickImageResult8398353326702376456.jpeg" Is there missing steps in the documentation for FileProvider or permissions perhaps? |
I'm experiencing exactly the same bug. Code seems to fail here: ==> This check fails in BitmapSampled decodeSampledBitmap(Context context, Uri uri, int reqWidth, int reqHeight) method: Bug is reproducible only when using the camera. Choosing a image from gallery works fine. |
@rexyrex I have another bug, but similar. When I try to run @bohemima your problem seen unrelated, but another one, please check this PR #10 where we did the FileProvider work. Should be fine, but maybe we hit another issue, let me know please @VEIKKO99 could you get the same issue running the code |
Only did a quick look around but it seems it is missing queries decleration for IMAGE_CAPTURE in the manifest,
I'm pretty sure it's the same issue, the crop screen is shown briefly before closing and the above error is sent. |
Great! =D |
I'm not sure what you mean by Quick Sample build, but the error also occurs on the sample app. |
SVID_20210108_153601_1.mp4We are having the same issue. After you take the picture instead of offering to crop it it returns back to my activity. |
I think this bug may be the same as #21 because when the |
Version 2.0.0 fixed the issue for me. Camera -> crop now works |
I have the same issue, but on Android 11. What change did Version 2.0.0 bring to fix the issue? (android noobie here) |
Hey @SaltyBoi31 try to use the latest library version and open a new issue (following the template) so I can help better ^^ |
Issue:
When selecting the default "camera" option, app does not go to crop screen after taking photo.
Expected Behavior
Device
Android 10.
Galaxy Note 10+
implementation 'com.canhub.cropper:android-image-cropper:1.1.1'
Code used to open selector
CropImage.activity().setGuidelines(CropImageView.Guidelines.ON).setAspectRatio(1,1).start(activity);
Extra Info
The text was updated successfully, but these errors were encountered: