couchbaselabs/ToDoLite-Android

TodoLite crashing when losing authentication

sethrosetter opened this issue · 0 comments

  1. Create user and login
  2. Add a few docs, make sure pointing at a running sync_gateway.
  3. Take db offline
curl -X POST http://localhost:4985/todos/_offline
  1. Add a few docs
  2. Bring db online
curl -X POST http://localhost:4985/todos/_online

User will get logged out and the app will crash

https://gist.github.com/sethrosetter/c08eb2453c68b8b52533