Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Store: Don't register web storage in Safari Private Browsing mode. Fixes
#59 - amplify.store quota exceeded safari 5.1.5 private browsing.
- Loading branch information
1 parent
36adbca
commit a1f4517
Showing
1 changed file
with
7 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a1f4517
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi,
I recently hit this same issue on the BlackBerry PlayBook browser. When it private browsing, "amplify.store quota exceeded". Switch back to normal browsing, no error is thrown.
Cheers,
Ben
a1f4517
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nayab9 Does this fix it for PlayBook or are you saying that you still see a problem even after this fix?
a1f4517
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sorry, i was just commenting I saw the same thing on PlayBook, I'm using the v1.1.0 download from the website; should I try a newer version to see if it is fixed?
a1f4517
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, please test against master and let me know if it's fixed for you. Thanks.
a1f4517
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have this problem (amplify.store quota exceeded) on first-generation iPad 1. I'm using only sessionStorage. I'm using AmplifyJS Store 1.1.0.
a1f4517
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This error still occurs in private browsing on both desktop and mobile safari
a1f4517
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. I sorted this out a while back.
It appears that when you reset the stored value to null before setting it again, the problem is solved.
Cheers.