I want to install a specific version of onesignal-cordova plugin. I am writing this:
ionic cordova plugin add [email protected]
However, the package.json and config.xml write this:
"onesignal-cordova-plugin": "^2.8.3"
and
<plugin name="onesignal-cordova-plugin" spec="^2.8.3" />
How can I install it without the semantic in front? Thanks.
You can try with ionic cordova plugin add [email protected] -- --save-exact
If it doesn't work, then configure npm to not add ^
, to do so, run npm config set save-prefix=""