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
Once the user has successfully authenticated, you'll have a JWT and possibly a refresh token that need to be stored securely.
3
+
Once the user has successfully authenticated, you'll have a JWT and possibly a refresh token that should be stored securely.
4
4
5
5
❗️ __Do not use Async Storage for storing sensitive information__
6
6
7
-
Async Storage is the simplest method of persisting data across application launches. However, it is _unencrypted_ key-value store and so should not be used for token storage.
7
+
Async Storage is the simplest method of persisting data across application launches in React Native. However, it is an _unencrypted_ key-value store and should therefore not be used for token storage.
8
8
9
9
✅ __DO use Secure Storage__
10
10
@@ -16,11 +16,11 @@ Keychain Services allows you to securely store small chunks of sensitive info fo
16
16
### Android - Secure Shared Preferences
17
17
Shared Preferences is the Android equivalent for a persistent key-value data store. Data in Shared Preferences is not encrypted by default. Encrypted Shared Preferences wraps the Shared Preferences class for Android, and automatically encrypts keys and values.
18
18
19
-
In order to use iOS Keychain services or Android Secure Shared Preferences, you either can write a bridge yourself or use a library which wraps them for you and provides a unified API at your own risk.
19
+
In order to use iOS Keychain services or Android Secure Shared Preferences, you can either write a bridge yourself or use a library which wraps them for you and provides a unified API (at your own risk).
0 commit comments