App LifeCycle -> onDestroy?


#1

Hey guys, what I want to know is that if there’s a way of knowing that the user is quitting the whole app, and not just a view. In android we have something like an onDestroy method.


#2

you mean navigator.app.exitApp();


#3

No, want to know that is going to happen, like in views we have a ionicVier:beforeLeave action, I want it for the whole app.