Redux Persist FS Storage for Expo
Redux Persist storage engine for React Native Expo file system, this will also work for Apollo Persist.
Credits to techwes for porting this to the Expo FileSystem.
Install
yarn add redux-persist-expo-fs-storage
Usage
; const persistor = ;
The default storage location is a folder called reduxPersist
in the document directory for your app on the device. You can specify folder for persistor:
; const cachePersistor = ;
This will create myApp
folder in cache storage for iOS and Android devices. You may create multiple persistors on different directories.