Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Save RSVP's #202

Open
samhill303 opened this issue Dec 16, 2022 · 0 comments
Open

Save RSVP's #202

samhill303 opened this issue Dec 16, 2022 · 0 comments

Comments

@samhill303
Copy link
Contributor

I'd like to see if we can save our rsvp's to a user account so if you log in on a different device, you don't lose your settings.

I think the simplest solution would be to:

  1. Add login with gmail to the Droidcon app
  2. With that user info, push a list of session id's to firebase/firestore. We can alternatively do this on our backend server. To discuss.
  3. Whatever place we keep the list, it should be a list and a "last update" timestamp. On app start, if logged in, check and see if that timestamp is newer than our last sync (we should keep last sync in internal settings). If newer, update our local values.
  4. As the user is selecting sessions, we should push values to our central store (but also update the local last sync value so we don't overwrite our own changes).

It's a very basic sync algorithm. We can iterate on it a bit if needed. It's OK if we don't get perfection. This should be relatively rare.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant