The Screenshot plugin allows your application to take screenshots of the current screen and save them into the phone.
how to install
install it via cordova cli
cordova plugin add https://github.com/gitawego/cordova-screenshot.git
notice: in iOS, only jpg format is supported in Android, the default WebView and Crosswalk are both supported
take screenshot with jpg and custom quality
define a filename
screenshot files are stored in /sdcard/Pictures for android.
take screenshot and get it as Data URI
usage in AngularJS
in Android platform I receive the black image with crosswalk
add this line
<preference name="CrosswalkAnimatable" value="true" /> in config.xml, see bug
this repo uses the MIT license