A sample Apache Cordova application that uses the CanvasCamera plugin.
- iOS
- Android
- Git
- NodeJS
- Apache Cordova
- Android Studio and SDK and/or Xcode and iOS SDK
git clone https://github.com/VirtuoWorks/canvascamera-cordova-demo.git
# goto CanvasCameraDemo directory
cd canvascamera-cordova-demo
Any operating system
cordova platform add android
MacOS only
cordova platform add ios
The plugin is listed as a project dependency in the npm package.json
file and Cordova config.xml
file.
When adding any platform, Cordova should install automatically the Canvas Camera plugin into the demo project.
You can check that the plugin has been properly installed by checking the \plugins\
directory inside your project directory.
cordova prepare
Any operating system
cordova run android
MacOS only
cordova run ios
cordova plugin remove com.virtuoworks.cordova-plugin-canvascamera
cordova plugin add com.virtuoworks.cordova-plugin-canvascamera && cordova prepare
Notice : This will not work after having prepared any platform while using npm >=5. The plugin is already installed as a project dependency (check your \plugins\
directory). The latest npm dependency management system uses a package-lock.json
file which will prevent you from installing the plugin again.
This software is released under the MIT License.