corona icon indicating copy to clipboard operation
corona copied to clipboard

'display.captureBounds' does not work properly in all android versions

Open AleCGames opened this issue 3 years ago • 1 comments

Hi, I've tested display.captureBounds in order to save a capture image as a file to the device's photo library, but it does not save anything in Android 10 and Android 11. I've tested in Android 6 and it work fine.

AleCGames avatar Nov 17 '21 08:11 AleCGames

I can confirm this works on some Android 10/11 but not others. For example, this stopped working recently on one of my test devices (a P30 pro) for 2 of 4 games, all made in Solar. No errors, just silently fails. It is not a permission issue and uninstall/reinstall makes no difference. It is a very weird bug!

I have tried display.save and display.capture and both have the same weird behaviour.

marksolar2d avatar Nov 17 '21 10:11 marksolar2d