When calling navigator.screenshot.save() on our Android test devices, the callback is never called. I traced this down in your code to the webView.getPluginManager().postMessage("captureXWalkBitmap", this); in the function getBitmap() of Screenshot.java. This message gets posted, but the onMessage() function is never called, which causes the callback to never be called.
I tried to add to the config.xml, but it made no difference.
[ENVIRONMENT]
Cordova Version = 6.1.1
Cordova Android Version = 5.1.1
Screenshot plugin version = 0.1.5
Crosswalk Webview version = 1.6.1
Devices tested were Samsung Galaxy S7 (running Android 6) and ZTE Z812 (running 5.1). Both show the same behavior. My guess it has to down with Crosswalk. Any hints would be appreciated
I see the same behavior. on a device that does not support OpenGL ES 2.0, I get a black screenshot (see issue #88), on a newer device I never get any callback. but nothing in logcat.
When calling navigator.screenshot.save() on our Android test devices, the callback is never called. I traced this down in your code to the
webView.getPluginManager().postMessage("captureXWalkBitmap", this);
in the function getBitmap() of Screenshot.java. This message gets posted, but the onMessage() function is never called, which causes the callback to never be called.I tried to add to the config.xml, but it made no difference.
[ENVIRONMENT] Cordova Version = 6.1.1 Cordova Android Version = 5.1.1 Screenshot plugin version = 0.1.5 Crosswalk Webview version = 1.6.1
Devices tested were Samsung Galaxy S7 (running Android 6) and ZTE Z812 (running 5.1). Both show the same behavior. My guess it has to down with Crosswalk. Any hints would be appreciated