The cordova-android 6.3.0 release notes ( https://cordova.apache.org/announcements/2017/09/27/android-release.html ) record what cordova-plugin-compat
needs to be removed
If i try
cordova plugin rm cordova-plugin-compat
I get the following error
[ERROR] An error occurred while starting the cordova remove cordova-plugin-compat --save plugin (exit code 1):
Error: plugin-cordova-plugin-compat is required (cordova-plugin-calendar, cordova-plugin-camera, cordova-plugin-file, cordova-plugin-geolocation), skipping deletion. (try --force if trying to upgrade)
If I then try to --force
uninstall, it works, the plugin is uninstalled, and I can create an Android application.
BUT, I just deleted my platform iOS
to add it again, and now I am facing an error
cordova prepare ios Error: Cannot find plugin.xml for plugin "cordova-plugin-compat". Please try adding again.
[ERROR] An error occurred while starting the ios cord preparation (exit code 1).
Any idea what I'm doing wrong? Should it really be deleted cordova-plugin-compat
? Why does my iOS platform refer to it, I thought it was only for Android?
I am using cordova-android@6.3.0 and cordova-ios@4.5.1
PS: If I remove and add the iOS platform, the compat plugin will automatically be added as a link in package.json and package-lock.json
UPDATE
(https://cordova.apache.org/news/2017/11/10/plugins-release.html), , , , cordova-plugin-compat
. ,
, , compat (https://github.com/EddyVerbruggen/Calendar-PhoneGap-Plugin/issues/426).
, 100% , .
PR, Calendar-PhoneGap-Plugin
'cordova-plugin-compat, , ""