tembac Posted June 15, 2017 Share Posted June 15, 2017 Hi everyone, I need to save an image from the game to the device. I'm using Phaser CE and I build it for mobile using Cordova. I tried using this plugin https://github.com/aaccurso/canvas-image-saver It works on web desktop and web mobile but it is not working on the cordova build for Android. How can I solve this? Link to comment Share on other sites More sharing options...
bruno_ Posted June 16, 2017 Share Posted June 16, 2017 Have you installed the plugin suggested in the url? Canvas2ImagePlugin You need to see if the console outputs any error, using adb logcat, vorlon.js or debugging Link to comment Share on other sites More sharing options...
tembac Posted June 16, 2017 Author Share Posted June 16, 2017 Yes, I installed the cordova plugin. Using logcat the output says that the screenshot is a "success" so no errors are apearing. Maybe the screenshot is saved on a hidden folder? Link to comment Share on other sites More sharing options...
bruno_ Posted June 16, 2017 Share Posted June 16, 2017 If its saved on the app sandbox, it is hidden. Try to read it from the app that creates it. Link to comment Share on other sites More sharing options...
Recommended Posts