I know it has been awhile since the last activity on this thread, but I was able to get this working with ionic 3.9 and the latest version of cropperjs (i think it is 1.4.1 or something like that). All of the replies on this thread were super helpful as well as this example here: https://github.com/itsru/Ionic3-Camera-with-CropperJS where you can see a full working example and that’s all it is. Thank you all!
Did you got any solution? I am also facing same error…
Use Native Image Crop Library in cordova plugin: https://github.com/Riyaz0001/cordova-plugin-image-cropper.git
Demo:
1 Like
Check this tutorial for Ionic 4 to Crop Images and Convert into base64 using Crop, File and Image Picker Native Plugins