You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/10/14 13:46:12 UTC
[GitHub] [cordova-plugin-inappbrowser] Stephane84 edited a comment on issue
#543: usewkwebview=yes not working
Stephane84 edited a comment on issue #543: usewkwebview=yes not working
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/543#issuecomment-541581596
Hello,
same here. I have an ionic3 app, and, the latest version of cordova-plugin-ionic-webview 4.1.2 and inAppBrowser 3.1.0. Build the app with Xcode11 and with the option usewkwebview, the opening of an inAppBrowser display it and close it instantanly. With Xcode 10, no pb
To reproduce :
```
ionic start (choose a name, a template, set yes to add cordova, and no pour ionic dev tool)
ionic cordova platform add ios@5.0.1
ionic cordova plugin add cordova-plugin-ionic-webview@4.1.2
ionic cordova plugin add cordova-plugin-inappbrowser@3.1.0
npm install @ionic-native/in-app-browser
```
In app.module.ts add "InAppBrowser" in the providers
In app.component.ts add InAppBrowser in the constructor, and the create to open the iab when device ready :
```
constructor(private iab: InAppBrowser) {
this.iab.create('https://www.google.fr/', "_blank", "usewkwebview=true");
```
Launch in an emulator with Xcode11, on ios13 terminal. It's ko
On ios12 terminal, it is ok.
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.
With the latest versions, without usewkwebview=true, it works, but preparing the future with WkWebview because of a probably removal of uiWebView, i'd prefer to usewkwebview now...
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org