Closed Shubhamd-Sankey closed 2 years ago
I'm having this issue w/ a new project using RN 67, any luck?
i solved using redux-persist-filesystem-storage instead of async storage
Hello, switching to the new recommended library works for us :) Cf. Async Storage has moved to new organization: https://github.com/react-native-async-storage/async-storage
i solved using redux-persist-filesystem-storage instead of async storage
You saved my life, Thanks @dhumal436
My version is below RN: 0.66.3 redux-persist: 6.0.0
my code is below
const persistConfig = {
key: 'persist',
storage: FilesystemStorage, // it was AsyncStorage from '@react-native-async-storage/async-storage'
timeout: undefined,
keyPrefix: '',
};
When use AsnycStorage, It was fine all ios version and device, and Android also
but, some old Android version is not working properly
I changed AsyncStorage to redux-persist-filesystem-storage It is all fine
Thanks
it works when my react native version is 0.64