Skip to content

Commit

Permalink
Merge branch 'master' of github.com:Cretezy/redux-persist-expo-secure…
Browse files Browse the repository at this point in the history
…store
  • Loading branch information
Cretezy committed Feb 1, 2018
2 parents c392cb5 + 1cb19bd commit 02aa349
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ function configureStore () {

#### `[options]`: `object`

Options to pass to [Expo's SecureStore](https://docs.expo.io/versions/latest/sdk/securestore.html).
Options to pass to [Expo's SecureStore](https://docs.expo.io/versions/latest/sdk/securestore.html):

##### `keychainService`: `string`

Expand All @@ -114,17 +114,19 @@ iOS only: Specifies when the stored entry is accessible, using iOS’s kSecAttrA
> Expo.SecureStore.ALWAYS_THIS_DEVICE_ONLY: Similar to ALWAYS, except the entry is not migrated to a new device when restoring from a backup.
redux-persist-expo-securestore specific options:

##### `replaceCharacter`: `string`

Default: `_`

See `Caveat`.
See [caveat](#caveat).

##### `replacer`: `function(key: string, replaceCharacter: string): string`

Default: replace all illegal characters by `replaceCharacter`

See `Caveat`.
See [caveat](#caveat).

## Caveat

Expand All @@ -136,4 +138,4 @@ You may also change the default key transformer by replacing `options.replacer`.

## Note

Inspired by [redux-persist-sensitive-storage](https://github.com/CodingZeal/redux-persist-sensitive-storage) (which required a native module).
Inspired by [redux-persist-sensitive-storage](https://github.com/CodingZeal/redux-persist-sensitive-storage) (which required a native module).

0 comments on commit 02aa349

Please sign in to comment.