A storage engine for redux-persist that leverages Expo's SecureStore to persist Redux state securely on iOS and Android. Version 2.0.0 is the latest stable release, requiring peer dependency expo-secure-store ^5.0.1. It exports a createSecureStore() factory that returns an object conforming to redux-persist's storage API. Key differentiator: offers iOS keychain services with configurable accessibility options (e.g., WHEN_UNLOCKED, AFTER_FIRST_UNLOCK, ALWAYS) and Android's encrypted SharedPreferences. TypeScript types are included. Note that the package ships untranspiled code, so Jest transformIgnorePatterns must be updated to exclude it.
npm install redux-persist-expo-securestoreNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Sets up redux-persist with Expo SecureStore storage engine, creating a persistor and store.
Update transformIgnorePatterns in Jest config: add 'redux-persist-expo-securestore' to the excluded list (see README).
Call createSecureStore(options) to get storage, then assign to config.storage.
Install expo-secure-store@^5.0.1: npm install expo-secure-store@^5.0.1
Install expo-secure-store: npm install expo-secure-store
Use config.storage = createSecureStore(options) or config.storage = createSecureStore()