I’d like to store credentials for my mobile app so that the user does not need to re-enter his credentials and re-authenticate when the app is restarted, whether it be because connection timed out or it crashes, the server restarted etc. Basically I’d like it to behave like facebook, twitter etc. apps I’m sure we all have on our phones. Is there a pattern to handle this with Meteor?
I was speculating that I could hack something with Phonegap’s localstorage but I don’t know if there is a known or better way.
So you want to have offline access to your subscriptions and user data? Then you should use Ground:DB. We are using it for a messenger app, so the user can access all chats even if he is offline. He also stays “logged in”.