ionic framework - Save information about cordova packages -
i using several cordova packages in ionic app. below command use installing cordova package
cordova plugin add cordova-plugin-network-information
this works fine. challenge information not saved in package.json.
so, next developer has pulled code has manually install cordova plugins have installed.
i looking 'npm install xxxx --save' save plugin/packages information somewhere , command pull packages automatically.
in projects, have seen following in package.json
"cordovaplugins": [ "cordova-plugin-camera", "cordova-plugin-statusbar" ]
however, not able find command add these package.json or should updated manually?
if you're using cordova 4.3.0 or higher plugins using should documented in , restored config.xml automatically. see docs here.
see docs on saving plugins , on restoring plugins.
Comments
Post a Comment