Back button Android


Hi all,

I have a problem with the back button on an Android device.
When I’m in a modal and hit the Android back button it should close the curent modal. But it doesn’t.

What should I do?


Haven’t had the chance to solve this particular problem, but if you could run a trigger for the back button, maybe you could run a test for if a modal is currently active and close/go back based on the condition? Sounds roundabout but that’s what I could think of right now.

Hope this helps.


But it should work by default, right?