corona
corona copied to clipboard
'display.captureBounds' does not work properly in all android versions
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.
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.