https://github.com/devgeeks/canvas2imagedemo
Demo app for my PhoneGap / Cordova Canvas2ImagePlugin
https://github.com/devgeeks/canvas2imagedemo
Last synced: 10 months ago
JSON representation
Demo app for my PhoneGap / Cordova Canvas2ImagePlugin
- Host: GitHub
- URL: https://github.com/devgeeks/canvas2imagedemo
- Owner: devgeeks
- Created: 2013-11-19T04:19:57.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2014-03-17T23:21:20.000Z (over 12 years ago)
- Last Synced: 2025-04-05T17:36:35.619Z (about 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 26.5 MB
- Stars: 7
- Watchers: 1
- Forks: 9
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Canvas2ImageDemo
================
Demo app for my PhoneGap / Cordove [Canvas2ImagePlugin](https://github.com/devgeeks/Canvas2ImagePlugin)
### Getting started
#### Requirements:
- Node / npm
- Cordova CLI (3.0+): `npm install -g cordova`
#### Setting up and running the project (from project root):
- `npm install` - to add the Canvas2Image plugin
- `cordova platforms add ios` *and / or* `cordova platform add android` - to add a platform target to the project
- `npm run build-js` - to concat any js to a single script
- `npm run emulate-ios` - builds js then builds for iOS and runs on the emulator
- `npm run emulate-android` - builds js then builds for android and runs on the emulator
- `npm run run-ios` - builds js then builds for iOS and runs on a device
- `npm run run-android` - builds js then builds for android and runs on a device or a virtual machine