I’m currently using cookie-based authentication as described here: http://blog.ionic.io/angularjs-authentication/. It’s working well, until I restart the app. Every once in a while on Android and every time on iOS, after restarting the app, the authentication cookie is no longer sent with requests to my server. I’ve checked on the server and verified that post-restart, the cookies are empty.
Looking at the comments at the end of the article, it looks like I’m not the only one this is happening to. I really don’t want to do token-based authentication because we need to release this app ASAP and implementing a new authentication method would really set us back.