Notice: The Monaca & Onsen UI Community Forum is shutting down.
For Onsen UI bug reports, feature requests and questions, please use the Onsen UI GitHub issues page. For help with Monaca, please contact Monaca Support Team.
Thank you to all our community for your contributions to the forum. We look forward to hearing from you in the new communication channels.
Exit app on back button press for a specific page
Norton Gumbo last edited by
I was wondering if there is a way to exit the app on back press for a specific page. This should not take into account of the page stack. I know right now if there aren’t any pages in the stack then it will exit the app but if there is then the back button will pop to the previous page.
@Norton-Gumbo You can use
ons-navigatorand run whatever you need to do there (