docs: note safeStorage.isEncryptionAvailable() needs ready event (#34220)

docs: note safeStorage.isEncryptionAvailable() needs ready event (#33724)

Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
This commit is contained in:
Darshan Sen
2022-05-16 21:42:14 +05:30
committed by GitHub
parent 6bfa54fcf2
commit dd8c63e15a

View File

@@ -20,7 +20,7 @@ Returns `Boolean` - Whether encryption is available.
On Linux, returns true if the secret key is
available. On MacOS, returns true if Keychain is available.
On Windows, returns true with no other preconditions.
On Windows, returns true once the app has emitted the `ready` event.
### `safeStorage.encryptString(plainText)`