Manually install Device plugin (and others) into cordova 3.0

后端 未结 4 1629
花落未央
花落未央 2020-12-28 23:59

Phonegap/Cordova 3.0 has moved into a modular design starting with version 3.0. For example, to call the device.version API, you need to include the Device plug

4条回答
  •  我在风中等你
    2020-12-29 00:53

    You can do it this way, download the plugin locally to your machine then run this code

    cordova plugin add  --searchpath 
    

    This will install the plugin into your project

提交回复
热议问题