How to remove cordova-plugin-compat?

The cordova-android 6.3.0 release notes ( https://cordova.apache.org/announcements/2017/09/27/android-release.html ) record what cordova-plugin-compatneeds 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 --forceuninstall, it works, the plugin is uninstalled, and I can create an Android application.

BUT, I just deleted my platform iOSto 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, , ""

+4
5

, cordova-plugin-compat.

, , - . ( --force) , , , - "cordova-plugin-compat" .

, PR .

, cordova-plugin-compat:

: -cordova-plugin-compat (--, --, - , cordova-plugin-geolocation), . ( --force if )

:

cordova-plugin-camera@3.0.0, cordova-plugin-file@5.0.0 cordova-plugin-geolocation@3.0.0 (. https://cordova.apache.org/news/2017/11/10/plugins-release.html)

cordova-plugin-calendar@5.0.0 PR https://github.com/EddyVerbruggen/Calendar-PhoneGap-Plugin/pull/430

+2

Android SDK Android Studio, :

cordova plugin rm cordova-plugin-compat --force
cordova platform rm android
cordova platform add android@6.3.0

, -!

+2

cordova-plugin-compat Android, iOS. .

: , , node_modules.

:

cordova platform add android
cordova platform add ios
cordova prepare # usually made by commands above but juste in case
cordova compile
0

, , , compat. plug.json .

0

Source: https://habr.com/ru/post/1686833/