Android Back button event not working
Question
Application Type
Mobile

Hi All,

Problem Statement :

when I opened an mobile application and then press back button of android device but back button event is not triggered and application got closed. but when we navigate to other pages in menu and come back to dashboard then press back button after that event is triggered

Requirement :

Need confirmation popup to exit application.

I have already implemented logic for exit application on users confirmation but it not works on first time application opened. it works when we navigate to other pages and come back to dashboard of the application.

Here is the flow details.

I am using outsystems android back button event in layout block.

Here is the settings on my dashboard page.


Hi Rahul,

I am already using this component.

https://www.outsystems.com/forge/component-overview/2476/android-back-button.

Still problem persist only application opened first time on main screen page. 


Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.