-
Notifications
You must be signed in to change notification settings - Fork 71
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
Crashes with Ionic 3 and WK WebView #4
Comments
I had the same issue, I reported it about a month ago but it was closed bc author couldn't reproduce. This plugin doesn't seem to support Ionic 3 and WK WebView but I would love to be able to use it with Ionic. |
The plugin is build for UIWebview, not WKWebview. Here is the crash log :
I think we can make a wrapper to call the right function if the user use a WKWebview. instead of the UIWebView : |
Did anyone find a solution to this? I was planning on using it but have recently updated to use wkwebview due to layout issues on ios11 and can no longer use this plugin. |
|
Plugin currently doesnt support WK, it uses UIWebview, need some volunteers to look into it. |
Hello, i made a PR to solve this issue : #12 |
Any change of getting this merged ^ ? |
For those unable to wait for a merge, I forked, renamed and published to npm. You can install using:
I can confirm it's working fine with the above merged pull request. Thank you @ericdesa |
glad it helped you @john-doherty ;-) |
I had this same issue when installing from npm, e.g. However, it works when I add it straight from the git repo:
Perhaps we need to publish a new version? |
Hi,
I have experienced crashes until uninstalling this plugin.
Before on UIWebView I didn't experience the problem.
I am using ionic-team WK WebView plugin that is installed as standard when starting new project with ionic start.
local packages:
Installed plugins:
cordova-plugin-console 1.0.5 "Console"
cordova-plugin-crosswalk-webview 2.2.0 "Crosswalk WebView Engine"
cordova-plugin-device 1.1.4 "Device"
cordova-plugin-facebook4 1.9.1 "Facebook Connect"
cordova-plugin-inappbrowser 1.4.0 "InAppBrowser"
cordova-plugin-intercom 3.2.2 "Intercom"
cordova-plugin-network-information 1.3.3 "Network Information"
cordova-plugin-splashscreen 4.0.3 "Splashscreen"
cordova-plugin-statusbar 2.2.1 "StatusBar"
cordova-plugin-whitelist 1.3.1 "Whitelist"
cordova-plugin-wkwebview-engine 1.1.4-dev "Cordova WKWebView Engine"
cordova-sqlite-storage 2.0.4 "Cordova sqlite storage plugin"
ionic-plugin-deploy 0.6.7 "IonicDeploy"
ionic-plugin-keyboard 2.2.1 "Keyboard"
The text was updated successfully, but these errors were encountered: