react-stack / redux-storage

Persistence layer for redux with flexible backends
MIT License
222 stars 18 forks source link

Entries must be arrays of the form [key: string, value: string] #13

Closed jorgefernandes closed 5 years ago

jorgefernandes commented 5 years ago

I'm using react-native 0.57.1 and react 16.5.0 with redux-storage When applying store middleware and load, react native crashes with this error: JSON value '' of type NSNull cannot be converted to NSString and then Entries must be arrays of the form [key: string, value: string] showing my redux state to be stored.

Does anyone knows something about this?

jorgefernandes commented 5 years ago

Forget about... createEngine from redux-storage-engine-reactnativeasyncstorage was receiving undefined