You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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).
This discussion was converted from issue #545 on February 12, 2021 19:58.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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).
Beta Was this translation helpful? Give feedback.
All reactions