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-demoAny 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.
cordova prepareAny operating system
cordova run androidMacOS only
cordova run ioscordova plugin remove com.virtuoworks.cordova-plugin-canvascameracordova 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.
This software is released under the MIT License.