My login page is in a 'modal'. I would like to force the user to login on his first session on my app.
I am checking if the localStorage contains the variable "user", which is written after login and only pop the modal if it is not there, but the user can escape from the modal with the hardware back button on Android...
I see there's an issue here : https://github.com/driftyco/ionic/issues/1397
Any idea on how to do this ?
Thanks