rt2zz / redux-persist

persist and rehydrate a redux store
MIT License
12.94k stars 866 forks source link

Does your entire store get randomly wiped? #1280

Open rueiwoqp opened 3 years ago

rueiwoqp commented 3 years ago

My store randomly gets wiped after days and weeks of working in production on devices. I've seen others here with the same, very frustrating issue. The puzzling thing is that it seems to work for many people and in other libraries like redux-offline, so I'm trying to identify the environment in which it fails. Please post all the relevant versions of any library related to redux-persist. redux-offline is on v4 of redux-persist, so maybe v4 is the best version that doesn't have this behavior?

I use the standard config with timeout: 0.

My environment: Expo managed

    "@neverdull-agency/expo-unlimited-secure-store": "^1.0.10",
    "expo-file-system": "~9.3.0",
    "expo-secure-store": "~9.3.0",
    "@react-navigation/native": "^5.9.2",
    "@reduxjs/toolkit": "^1.5.0",
    "expo": "~40.0.0",
    "react": "16.13.1",
    "react-dom": "16.13.1",
    "react-native": "https://github.com/expo/react-native/archive/sdk-40.0.1.tar.gz",
    "react-redux": "^7.2.2",
    "redux-persist": "^6.0.0",