Closed maraujop closed 6 years ago
I had also a case like this when Native implementation is different than JS. For example, on Native you use Promise, but on JS you use callbacks.
Not related, but hopefully will help anyone facing this issue.
Closing due to lack of activity on this issue. Please reopen if further discussion is required.
what's the solution this this error?? @maraujop did you find a solution??
It’s not clear that this error is caused by this package.
Are you able to replicate in a minimal example that’s shows that this package is at fault?
okay, i feel it has to do with redux
@mopilo The solution for the error is actually in the initial issue (https://github.com/robwalkerco/redux-persist-filesystem-storage/issues/13#issue-317694059)
I think that deleting your node_modules
folder and running npm install
or yarn
will likely fix it :)
for this one i solve it by filter the input variable that i wanted to use in my code and this error disappeared. Try check the variable that u are using.
Almost went bananas today, trying to find out what was causing this error. Apparently this
field sizes are different
is the "human friendly" way of RN of telling you that parameters passed to the native code from javascript don't match.After debugging pretty much the whole storage, I found that this module contains a copy of
react-native-fetch-blob
undernode_modules
of the library, which was colliding with the version I'm using in my own app. After deleting this one, everything started working like a charm.I'm opening this issue as a future reference for anyone hitting the same stone and just in case you have a tip on how to better handle this scenario.
Thank you very much, cheers Miguel