Trying to update cordova-plugin-ionic-webview to 2.3.1

I know that we need to update the cordova-plugin-ionic-webview for security issue.

I have to support IOS 10.

I have in my config.xml
<plugin name="cordova-plugin-ionic-webview" spec="2.3.1"> <variable name="ANDROID_SUPPORT_ANNOTATIONS_VERSION" value="27.+" /> </plugin>

but I have problem when i run
ionic cordova platform add ios@4.5.4

it update the plugin to 3.1.1 automatically and update my package.json to 3.1.1 also.

Do someone know why it doesn’t respect my fixed version ?