Can I install a previous version of a plugin using the cordova plugin add command?

前端 未结 2 525
臣服心动
臣服心动 2021-02-03 18:53

I am trying to rebuild a cordova project from scratch and creating documentation along the way. I would like to be able to install consistent versions of plugins to avoid having

2条回答
  •  渐次进展
    2021-02-03 19:13

    I had a similar problem with a plugin. This is how it worked for me:

    Usually I would have added the plugin like this

    cordova plugin add org.apache.cordova.contacts
    

    Instead I fetched the plugin from github like this (note the version tag at the end)

    cordova plugin add https://github.com/apache/cordova-plugin-contacts#1.1.0
    

提交回复
热议问题