Skip to content
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

on iOS, cdvphotolibrary schema should work with WKWebView #41

Open
viskin opened this issue Feb 27, 2017 · 12 comments
Open

on iOS, cdvphotolibrary schema should work with WKWebView #41

viskin opened this issue Feb 27, 2017 · 12 comments

Comments

@viskin
Copy link
Member

viskin commented Feb 27, 2017

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.

@viskin
Copy link
Member Author

viskin commented Feb 27, 2017

@arberkryeziu
Copy link

Some news related to this issue https://forum.ionicframework.com/t/wkwebview-v3-0-0/82814

@viskin
Copy link
Member Author

viskin commented Mar 28, 2017

I will try the new v3 version.

@wowmama
Copy link

wowmama commented Jul 28, 2017

Is there any solution for this issue?

@AndreasGassmann
Copy link
Contributor

@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.

@jaybloke
Copy link

jaybloke commented Dec 5, 2017

You will definitely run into this problem @AndreasGassmann - I had to revert to the older UIWebView in order to get this plugin to work.

@gnesher
Copy link

gnesher commented Dec 5, 2017

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

@jaybloke
Copy link

jaybloke commented Dec 5, 2017

It would appear so @gnesher - raised an issue here - ionic-team/cordova-plugin-ionic-webview#54

@gnesher
Copy link

gnesher commented Dec 5, 2017

@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 ...

@AndreasGassmann
Copy link
Contributor

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.

@jaybloke
Copy link

jaybloke commented Jan 19, 2018

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.

@AndreasGassmann
Copy link
Contributor

AndreasGassmann commented Jul 26, 2018

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 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants