Android backbutton catch and handle exit app

#1

There have been a few topics on how to handle the back button primarily for functions like press back twice to exit etc, and the main issue was that users didn’t want to override the functionality for the whole app just to handle it on one page or a specific scenario… some others had the problem when using tabs applications when app.goBack() failed or popped the wrong pages.

I therefore created a plugin that helps handling all of these scenarios without having to worry about losing the default behavior and the ability to revert overrides…

If you still are having problems implementing the android back button handling then ths plugin could be for you. Please read the examples in the README in order to understand how it works.

npm package

1 Like