Everything worked fine before the upgrade. After pressing Back, it only executed the commands from "when.screen1.backpressed". Now it performs these commands and closes the application immediately.
I suspect this patch has broken something:
Use onBackPressed instead of onKeyDown (thanks @bartmathijssen)
Although I do not know what was corrected here since the button worked well ...
For me, first executes the commands that are placed in āwhen.screen1.backpressedā, then closes the application. In commands placed in āwhen.screen1.backpressedā I do not have a command closing the application. Now the back button closes the application by default, regardless of what is in āwhen.screen1.backpressedā.
Help, Iām working on an app for a school contest and after 3 months this bug is going to mess up all my project. We have to send it tomorrow. Is there any way to fix this problem with the code you posted or we must wait for a patch?
thatās right, in my case I compiled today and it happened.
when you press to go back it always closes the window (back to the previous one), without you having added the close screen command