I have set up a lock screen on my device. If I press the hardware sleep button when my application is opened, then unlock the device from the lock screen, everything in my application goes blank (displays black screen). There is no problem if I disable the lock screen. How can I fix this?
This problem only appears on Android, not on iOS.