Hi guys,
I’m trying to catch when the user uses the back button to exit the app on Android. I’d like to confirm the action with an alertCtrl.
How do you listen for back button exits and what needs to be called to exit the app?
I’ve tried this as a listener but it doesnt seem to fire.
this.platform.registerBackButtonAction(my_exit_handler)
was added to my platform.ready in app.component,ts