I'm using android 6.0.1 and cordova 5.3.7. cordova-screenshot works well with iOS but in Android 6.0.1 it's just black screen and I don't use Crosswalk. Since there doesn't seem to be another plugin that takes screenshots, could you fix this asap? Here is the piece of code I use:
share: function () {
var imageLink;
//console.log('Calling from CapturePhoto');
navigator.screenshot.save(function (error, res) {
if (error) {
console.error(error);
} else {
imageLink = res.filePath;
console.log("filepath is: " + "file://" + res.filePath);
}
}, 'jpg', 50, 'myScreenShot');
Hi,
I'm using android 6.0.1 and cordova 5.3.7. cordova-screenshot works well with iOS but in Android 6.0.1 it's just black screen and I don't use Crosswalk. Since there doesn't seem to be another plugin that takes screenshots, could you fix this asap? Here is the piece of code I use:
I use this screenshot to share game over score.