In the Ionic framework, you have the
ionicview.leave, but this also holds when the user leaves the view and goes to another one.
I am building an app that is protected, meaning that you can only view the content when:
- you enter the correct access code
- your session has not timed out
But when you go to Home, then I want somehow to record that the session is over and that the user needs to authenticate when he comes back in the app.