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

Add version numbers to shared preferences #1180

Open
limwa opened this issue Mar 4, 2024 · 0 comments
Open

Add version numbers to shared preferences #1180

limwa opened this issue Mar 4, 2024 · 0 comments

Comments

@limwa
Copy link
Member

limwa commented Mar 4, 2024

We should think of a way to add version number to the app's shared preferences.
This is important in situations where we want to manually invalidate the user's session to trigger certain behavior that only happens when the user logins.

To do this, I thought of a few approaches, but feel free to suggest other approaches.

  1. Have a version number per property. This allows for a finer level of invalidation, but might add a lot of complexity where it isn't needed.
  2. Have a version number for all properties. This allows for a lower level of complexity but reduces the level of invalidation.

One thing to consider is that if we have a single version number for all properties is that when the version number is incremented, the consent to the cookie banner is reset. Is this a problem?

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

No branches or pull requests

1 participant