Cordova CanvasCamera Plugin Demo
A sample Apache Cordova application that uses the CanvasCamera plugin.
Supported Platforms
- iOS
- Android
Dependencies
- Git
- NodeJS
- Apache Cordova
- Android Studio and SDK and/or Xcode and iOS SDK
Installation
Clone the repository :
git clone https://github.com/VirtuoWorks/canvascamera-cordova-demo.git
# goto CanvasCameraDemo directory
cd canvascamera-cordova-demoAdd platforms :
Any operating system
cordova platform add androidMacOS only
cordova platform add iosThe 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.
Prepare the project :
cordova prepareStart the application :
Any operating system
cordova run androidMacOS only
cordova run iosIf the plugin was not installed :
Try to remove Canvas Camera plugin :
cordova plugin remove com.virtuoworks.cordova-plugin-canvascameraTry to install Canvas Camera plugin :
cordova plugin add com.virtuoworks.cordova-plugin-canvascamera && cordova prepareNotice : 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.
License
This software is released under the MIT License.