Description
We'll need to store some of the user's data in a local database on the device.
The minimum version of this for a fully-functioning Zulip client would be:
- Authentication credentials for each of the user's accounts (needed for Add a login flow #11)
- Some other per-account data: the state of registering for push notifications; the server's Zulip version and feature level; the user ID
- User settings that are global to the device (like dark mode vs. light mode), or that otherwise don't come from the server
In particular, that covers everything the existing RN-based app stores and doesn't discard when you switch between accounts.
A future version would also store the full server data: other users with their names and avatars, streams with their names and subscription colors, recent/unread messages, and so on. But we can go a long way without that — the RN-based app has never made great use of this anyway. So we'll file a separate issue for that later.
The scope of this issue is to have local storage in some reasonable form that we think could be good to use in a production app, and to have some data we store there that can change and is reflected in the UI. We'll then add particular pieces of data to it as needed.
Metadata
Metadata
Assignees
Type
Projects
Status