Showing results for 
Search instead for 
Did you mean: 
Not applicable

Prevent Android Back button from returning to previous screen

Is there a way so that when the back button (Bottom right on Android) is pressed the app doesn't return to the previous screen? I just want the "Close App" Message to show up.


If I have visited a few screens on the app I have to press the back button multiple times before I can exit the app.

Community Support
Community Support

Hi Dan,


No, this cannot be done in PowerApps so far. You could post this idea in the PowerApps Ideas forum, so it might be considered for future releases.



Mona Li

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Not applicable

Hi Mona,


Is there a way to add logic for when the user presses the back button on android? Currently the navigate back arrows on my app have logic attach to them so when the user navigates back a page using the back icon button the correct logic will trigger. The issue is if some presses the back button on an android phone they will be navigated back a screen but the logic won't run.





Helpful resources

New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users


We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

Top Solution Authors
Top Kudoed Authors
Users online (44,893)