Next we'll add Cordova plugins. You can add any standard Cordova plugin you wish to use, including BlinkMobile ones, such as the Sketch plugin that is used for signature panel and photo annotations.
Adding Cordova Plugins:
Navigate to your project root folder (the one with your config.xml and build.json file).
Run the command:
Code Block | ||||
---|---|---|---|---|
| ||||
cordova plugin add https://github.com/blinkmobile/cordova-plugin-sketch.git --save |
This will install the sketch plugin.
--save
The --save is very important - this option needs to be added, as this will update your config.xml file automatically with the plugin details.
Repeat this process for any other Cordova plugins you wish to include.