Hi Everyone,
I am looking for an image cropper in Xamarin forms.
I have tried ImageCropper.Forms
but the code got an exception here->
new ImageCropper() {
// PageTitle = "Test Title",
// AspectRatioX = 1,
// AspectRatioY = 1,
Success = (imageFile) =>
{
Device.BeginInvokeOnMainThread(() =>
{
imageView.Source = ImageSource.FromFile(imageFile);
});
}
}.Show(this);
of abstraction, dont know why?
Then I tried a sample from here-->
https://forums.xamarin.com/discussion/30076/xamarin-forms-capture-and-crop-an-image-for-android-platform
It works in iOS but app crashes in Android with a error --> Java.Lang.IllegalArgumentException
Please help