Hi, I'm using the "Browser -> on mobile back button pressed" event in one layout to close a menu hidden on a layer, and on another layout I'm using it to go to the previous layout.
After exporting with Cordova to Debug APK, The event usually doesn't work the first time after opening the game, but if an Android user presses their Android home button, then multitasks back to the game, then I notice the event works after that.
Does anyone else have this issue or have a way to fix it?
These are two different layouts.
I forgot to add, when I said "The event usually doesn't work the first time after opening the game",
usually, upon that first time of opening the game before going to the home screen and back to the game, what it does no matter what is if a user presses the back button it exits the game, even though I want it doing what I expressed in the events. But it's strange to me because if a user opens the game, then presses the home button, then navigates back to the game through their multitasking screen, then the events work as expected.