Closed Sampath-Lokuge closed 2 years ago
Yeah, allowEditing is not supported for CameraSource.Photos
on iOS 14+ because it uses a newer native image picker that doesn't provide edition capabilities.
I've sent a pull request documenting it.
May I know when will we have this version? Thanks a lot for the quick feedback!
The pull request just documents that it doesn't work on iOS 14+, it can't be fixed since the new native picker doesn't allow to edit, so there is nothing to wait for.
The docs will probably be updated next Wednesday.
Oh... What will be the alternative here for us since most of the users want to edit/crop their photos before updating them no? Any clue, please.
The alternative would be to use a web based library such as react-cropper or any of this ones. I've only tested the react one, not sure if all of them will work and you should probably use webPath
instead of dataUrl
I'll use ngx-image-cropper
here, Thanks a lot for the info!
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of the plugin, please create a new issue and ensure the template is fully filled out.
.ts
It doesn't allow editing/cropping the gallery image on iOS devices. i.e.
Add Photo
use case. It is working fine on Android devices.I use this plugin: https://capacitorjs.com/docs/apis/camera#imageoptions