cordova-screenshot icon indicating copy to clipboard operation
cordova-screenshot copied to clipboard

Android 6.0.1 Black Screen

Open muvaf opened this issue 8 years ago • 2 comments

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.

muvaf avatar Jan 09 '16 19:01 muvaf

I didn't use Crosswalk too. and my video screenshot keeps black. searching for some help....

pengkobe avatar Apr 15 '17 12:04 pengkobe

Same problem. I'm using phaser for the game.

Tembac avatar Aug 03 '17 09:08 Tembac