Ionic 3: Which version of cordova-plugin-ionic-webview should we use?


#1

We are currently using cordova-plugin-ionic-webview version 1.2.1.

For iOS we are experiencing a hard to reproduce bug where all images are replaced by square box with a border, after restarting the app everything works fine.

If I look at the repo https://github.com/ionic-team/cordova-plugin-ionic-webview, the 1x version has not been updated for 6 months, should we upgrade to version 2x or is this version mainly targeting Ionic 4?


#2

@ryandegruyter - did you find any suggestions on this?


#3

I use the 1.x version. It’s pretty compatible across the board.


#4

Thanks @Judgewest2000. That’s what I’ve found too. Unfortunately I recently upgraded to xcode 10 and have since been unable to get a decent build with this plugin (1.x or 2.x). All HTTP requests are sent with a origin: null header (where it used to be localhost:8080).


#5

Weird. I’ve not found that to be the case.
Have you got an example repo?


#6

Hey, I’m not sure if this well help, but I have been getting emails about this


#7

Hi @jjdev - Thanks, I got that too. Sounds like that will force us to avoid the 1.x branch now :frowning:


#8

@Judgewest2000 - thanks for asking! I threw together a quick repo and it worked fine. That got me tracking other plugins. Looks like this is related to the most recent cordova-plugin-code-push release. I created an issue there: https://github.com/Microsoft/cordova-plugin-code-push/issues/489