How to upgrade to cordova-ios to 4.X.X?


#1

I’m trying to use WKWebView plugin, but it requires cordova-ios 4.0.0 or later. When I try to build my project with WKWebView cordova plugin added, I get the following error message:

% Plugin doesn't support this project's cordova-ios version. cordova-ios: 3.9.2, failed version requirement: >=4.0.0-dev

How could I upgrade my platform in my Meteor project? I can’t any way to define a specific version when running meteor add-platform ios.


#2

Meteor 1.3 uses WKWebView by default:

Which Meteor version are you running?


#3

I’m running Meteor 1.2.1. At this point upgrade to Meteor 1.3 or later is impossible. Too many things break.


#4

Ah that’s quite old!

I don’t know how you could do this well actually. Did you try using a package for it? https://atmospherejs.com/silvervue/wkwebview for example. People have done it before and some made packages which might fix the kinks.

There are not many breaking changes in 1.3: https://guide.meteor.com/1.3-migration.html maybe it’s interesting to post what is breaking for you so we might be able to help with that.