-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
usewkwebview=yes not working #543
Comments
We are experiencing exactly the same issue when using cordova-plugin-ionic-webview v2.5.2 Environment, Platform, Device Version information |
Hello, |
Hello, To reproduce :
In app.module.ts add "InAppBrowser" in the providers
Launch in an emulator with Xcode11, on ios13 terminal. It's ko With cordova-plugin-ionic-webview version in 2.5.2 or 3.1.2 (older last stable), it's the same. Last thing, at the begining, i was using cordova-plugin-ionic-webview 1.2.1 and inappbrowser 2.0.2. Without the usewkwebview option, the result was the same, when build with xcode11, and testing on ios13 only, the inappbrowser opened and closed just after. That's why i upgraded those 2 plugins, and try to set usewkwebview, because of the Apple Warning mail when using code containing UiWebview. |
I am having this problem as well, albeit possibly for a different reason. I am using Capacitor which already uses WKWebView and, for that reason, does not allow me to install cordova-plugin-webview or cordova-plugin-wkwebview-engine. That said, since others are having this issue, this may not be relevant. |
Should be fixed by #534 |
can somebody hint what exactly should we put in config.xml and where so that we activate this feature in ios for ionic? |
Bug Report
Problem
What is expected to happen?
Opening an in-app browser with
usewkwebview=yes
works, when cordova-plugin-wkwebview-engine is installed.What does actually happen?
Fails with an error in the Xcode console. Works when
usewkwebview=yes
is removed.Information
See below.
Command or Code
Open in Xcode, select development team, and run.
Inspect in Safari debugger, and run command below in console. No browser appears. Running a second time shows a different error:
Logs in Xcode:
Environment, Platform, Device
iOS 13.1.1, iPhone XR
Version information
Cordova CLI 9.0.0
Xcode 11.0, Mac OS 10.14.6
Checklist
The text was updated successfully, but these errors were encountered: