A storage adaptor for redux-persist that uses react-native-blob-util to store Redux state on the filesystem in React Native apps. Version 4.2.0 works with redux-persist v6 and above. It is an alternative to AsyncStorage, particularly useful on Android to avoid storage size limitations. The library implements the standard redux-persist storage interface (setItem, getItem, removeItem, getAllKeys, clear) and supports custom storage paths, encoding, and file name transforms. It requires react-native-blob-util as a native dependency, and v2+ drops support for React Native <0.60.
npm install redux-persist-filesystem-storageNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to configure redux-persist with FilesystemStorage as the storage backend.
Use 'redux-persist-filesystem-storage@1' or upgrade React Native to 0.60+.
Use default import: import FilesystemStorage from 'redux-persist-filesystem-storage'
const FilesystemStorage = require('redux-persist-filesystem-storage').default;Use a path inside the app's document directory (the default) and ensure proper permissions.
Upgrade to redux-persist v6 or later, or see migration guide in README.
Use: import FilesystemStorage from 'redux-persist-filesystem-storage';
Run: npm install react-native-blob-util && cd ios && pod install
Ensure the storagePath directory exists, or rely on the default path. Use FilesystemStorage.config({ storagePath: '...' }) with a valid path.