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/08/21 13:39:09 UTC

[GitHub] [cordova-plugin-inappbrowser] RikdeVos edited a comment on issue #492: not work ios13 InAppbrowser select target _blank

RikdeVos edited a comment on issue #492: not work ios13 InAppbrowser select target _blank
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/492#issuecomment-523458233
 
 
   Setting usewkwebview=no or yes didn't make a difference for me.
   
   Eventually I found out that it seems to work when starting a new (blank) project, which made me realise that there must be a conflict with another plugin OR I simply didn't have the latest version installed. The latter turned out to be the case. I managed to fix it as follows:
   
   1. Update to `"cordova-plugin-inappbrowser": "^3.1.0"` in the package.json AND config.xml
   2. Remove the ./node_modules ./plugins ./platforms folders
   3. When opening the browser, set `usewkwebview` to `no` as option:
   
   `const authWindow = cordova.InAppBrowser.open('http://example.com', '_blank', { usewkwebview: 'no');`
   4. `ionic cordova build ios` and try it out in a iOS 13 sim, and it should work!
   
   Btw, the browser does still crash when setting **usewkwebview=yes**, so if that's a requirement then this won't work. There is also Enterprise Support available from Ionic for this plugin which might work if you don't want to wait: https://ionicframework.com/docs/enterprise/inappbrowser#inappbrowser

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