Skip to content

Commit 081036a

Browse files
author
Kadi Kraman
committed
Wording updates as per PR review comments
1 parent 3379046 commit 081036a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/token-storage.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ Async Storage is the simplest method of persisting data across application launc
88

99
__DO use Secure Storage__
1010

11-
React Native does not come bundled with any way of storing sensitive data, however there are pre-existing solutions for both platforms.
11+
React Native does not come bundled with any way of storing sensitive data, so it is necessary to rely on the underlying platform-specific solutions.
1212

1313
### iOS - Keychain Services
1414
Keychain Services allows you to securely store small chunks of sensitive info for the user. This is an ideal place to store certificates, tokens, passwords, and any other sensitive information that doesn’t belong in Async Storage.
1515

1616
### Android - Secure Shared Preferences
1717
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.
1818

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).
19+
In order to use iOS's Keychain services or Android's Secure Shared Preferences, you either can write a JS<->native interface yourself or use a library which wraps them for you. Some even provide a unified API.
2020

2121
## Related OSS libraries
2222

0 commit comments

Comments
 (0)