Skip to content

Better detection on Safari #27

@mariusa

Description

@mariusa

Hello,

Using localStorage on Safari on iOS will result in JS errors when in private mode:
http://stackoverflow.com/questions/14555347/html5-localstorage-error-with-safari-quota-exceeded-err-dom-exception-22-an
http://stackoverflow.com/questions/13208878/localstorage-not-accessible-in-ios-6-safari

Would you please consider a better detection of localStorage actually working, and if not, handle as if not available instead of erroring?
e.g. simpleStorage.get() could return undefined

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions