I’m using enableBrowserArrows to make the standard android back button work, but I have this quirk:
My app has an initial login screen, which makes an ajax call to authenticate the user and if ok, goes to the main form of the app.
Then the user navigates the app, and if he presses the back button while on the main form, he gets back to the login form, but:
- He’s not really logged out, so the app state is not ok
- I really DON’T want this to happen: my idea is that the user should remain logged in until he specifically logs out (there’s a proper logout button in the app).
What can I do to make back button work as a “back to the OS” button when in the app home screen?