Skip to content

Is there a way of mimic a session storage? #545

Description

@ericlifs

You want to:

Know if there is a way of setting some items in the AsyncStorage that are going to be erased whenever the user kills the app, the phone battery dies, etc. I want to accomplish something similar as the concept of session storage on the web where registries are deleted once the browser is closed (session expired).

Details:

I'm implementing a login form in react native which has a "Remember me" checkbox which defines whether the user session token should be persisted in the future or not. The idea is to remove all user saved information once the user kills the app or the phone battery dies (or any other case).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions