Historically we have only used/updated plugin engines when a certain
cordova-cli/android/ios version was needed because of a new
feature required by the plugin.

Nowadays, most plugins still (technically) support
old cordova-cli/android/ios versions, but we don't really test on those
versions, so can't be sure. And a few recent PRs I've sent are technically
breaking because I removed old iOS code for iOS 6-8 support. Those versions
have not been supported in cordova-ios for a long time, but the plugins
still supported them as they didn't have engines or the cordova-ios version
used as min supported version still supported them.

So, what I'm proposing is to add engines to all the plugins to require at
least
cordova 9
cordova ios 5.1.0
cordova-android 8.0.0

We should do it before we do a major release of any plugin, but don't mean
we need to do a major release of all plugins right now, just have it in
mind before we do a major release of any plugin.

And I would also like to remove the "protective" engine all plugins have
that points the next major version to cordova >= 100

thoughts?

Network information plugin was updated to require cordova 9
https://github.com/apache/cordova-plugin-network-information/pull/118
camera plugin has a PR to require cordova 9 and cordova-android 9
https://github.com/apache/cordova-plugin-camera/pull/628

Reply via email to