I have implemented a HTTP auth sign up/login utilizing JSON Web Tokens (https://github.com/sahat/satellizer) where the token is saved in local storage after authentication. However, I have discovered after I emulate and build the app on my iPhone, go ahead and login, and then close the app, the user’s login session is destroyed.
Is local storage preserved when a user closes the app? Have I made a possible oversight in my technical implementation? How can I go about keeping a user logged in once they’ve closed the app?