Open viskin opened 7 years ago
Some news related to this issue https://forum.ionicframework.com/t/wkwebview-v3-0-0/82814
I will try the new v3 version.
Is there any solution for this issue?
@viskin Did you have time to look into this? I am about to upgrade my app to WKWebView and will probably run into this issue.
You will definitely run into this problem @AndreasGassmann - I had to revert to the older UIWebView in order to get this plugin to work.
So if Ionic now bundles WKWebView by default, does that mean Ionic no longer support native interaction with the camera / photo library? That sounds a bit odd
It would appear so @gnesher - raised an issue here - https://github.com/ionic-team/cordova-plugin-ionic-webview/issues/54
@jaybloke thanks, I've also posted a question on their forum / stack overflow. There does seem to be a work around (https://medium.com/collaborne-engineering/my-cordova-nightmares-accessing-photos-from-the-phones-gallery-7528a0860555) which involves setting up a web server but I'm a wee bit cautious with that ...
Has anyone tried this plugin? https://github.com/domax/cordova-plugin-photos I didn't have time to really look into it, but it seems that he is returning the image data and then displaying the blob directly. That should work, but I'm a bit concerned about performance.
I share your concern @AndreasGassman - I'm sure this would be find for a handful of images, but if you need to render hundreds of images as blobs, I'm pretty sure performance is going to be terrible.
Has anyone made any progress here? With the Ionic v4 beta released I guess a lot of people are getting ready to upgrade, which will probably also include the WKWebView update. So we should try to find a solution soon :)
WKWebView still does not provide support for custom schemas. See this issue. This seems to be completely in hands of apache/ionic. Nevertheless, if such support will appear, it will significantly improve performance of cordova-plugin-photo-library on iOS.