-
Notifications
You must be signed in to change notification settings - Fork 59
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
App crashes on creating new instance of ImageCropper #38
Comments
having same issue |
@krunal66nizama fixed only by installing ImageCropper.Forms.Fix on nuget |
@ederjbezerra thanks |
I also have the same issue, have tried ImageCropper.Forms.Fix nuget but it didn't help. any ideas on how to fix this? |
Having the same issue. Installing ImageCropper.Forms.Fix on nuget doesnt fix. Any idea? |
try this nuget |
This package even get the "Permission" package typo: All Frameworks |
download project from that git , and run that code , it will work in android , but still circular crop will not work |
Unable to find package Plugin.Persmissions. No packages exist with this id in source(s): nuget.org I think the problem is Permissions was wrote wrong. I have Plugin.Permissions installed but can't install ImageCropper because it expects Plugin.Persmissions. How can I solve that? |
When calling
new ImageCropper() { PageTitle = "Cut an image", AspectRatioX = 1, AspectRatioY = 1, CropShape = ImageCropper.CropShapeType.Rectangle, SelectSourceTitle = "Select a file", TakePhotoTitle = "Take a picture", PhotoLibraryTitle = "Pic gallery", Success = (imageFile) => { Device.BeginInvokeOnMainThread(() => { imageView.Source = ImageSource.FromFile(imageFile); }); } }.Show(this);
This exception is threw:
Method not found: System.Threading.Tasks.Task`1<Plugin.Media.Abstractions.MediaFile> Plugin.Media.Abstractions.IMedia.TakePhotoAsync(Plugin.Media.Abstractions.StoreCameraMediaOptions)
ImageCropper 1.0.6
Xam.Plugin.Media 5.0.1
Xamarin.Android.Support.* 28.0.0.3
Xamarin.Essentials 1.5.4.2
Xamarin.Forms 4.7.0.1080
The text was updated successfully, but these errors were encountered: