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

Option to use cookies instead of localstorage #21

Open
osdiab opened this issue Sep 22, 2020 · 2 comments
Open

Option to use cookies instead of localstorage #21

osdiab opened this issue Sep 22, 2020 · 2 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@osdiab
Copy link

osdiab commented Sep 22, 2020

Table of Contents

Expected Behavior

if local storage is a no-op for the given browser or is not present, try using a cookie or some other storage mechanism instead; can be placed behind a flag if that's not desirable.

Current Behavior

Current behavior forces local storage as the storage medium

Possible Solution

Would be great if we can use a cookie as a backup if localstorage doesn't work

Steps to Reproduce (for bugs)

not relevant

Context

Localstorage is a no-op in iOS private browsing, which we've found to be unfortunately common on our service; but cookies definitely work in that scenario.

Your Environment

  • Version used: 2.3.0
  • Browser Name and version: Mobile Safari
  • Operating System and version (desktop or mobile): iOS 13.7
  • Link to your project: private repo
@gregegan
Copy link

+1. Did you get this working @osdiab ?

@osdiab
Copy link
Author

osdiab commented Nov 16, 2020

i didn't try but i can give it a go when my hours free up :)

@moretti moretti added enhancement New feature or request help wanted Extra attention is needed labels May 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants