Open damathryx opened 6 years ago
I've also faced this. There is a closed issue pointing that it was npm
bug. But that doesn't seem to be my case.
How do I log just like your?
@bluenex i'm using redux-logger
I am facing the same issue. App is starting, but state is not persisted.
"react-native": "~0.55.2",
"react-native-navigation": "^1.1.471",
"react-redux": "^5.0.7",
"redux": "^4.0.0",
"redux-persist": "^5.10.0"
Same issue.
When i'm in debug mode, it show
console.error: "redux-persist: rehydrate for "root" called after timeout.", {....}, undefined
I was having a similar problem with my set up. iOS was working but Android was not. I resolved it by adding keyPrefix: ''
to the persist config.
https://github.com/leethree/redux-persist-fs-storage/issues/5#issuecomment-409962329
I had the problem because I was calling persistStore( ... )
two times in my code (in two different files)
Had same issue. Fixed using timeout: null
in persist config.
const persistConfig = {
key: 'root',
storage,
timeout: null,
}
I've been stuck on this for some time, it works perfectly in iOS but doesn't work in Android. redux-persist 5.10.0 react-native 0.56.0