cordova-screenshot
cordova-screenshot copied to clipboard
Android 6.0.1 Black Screen
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:
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');
I use this screenshot to share game over score.
I didn't use Crosswalk too. and my video screenshot keeps black. searching for some help....
Same problem. I'm using phaser for the game.