-
-
Notifications
You must be signed in to change notification settings - Fork 120
Description
Describe the bug
There seems to be an issue with initializing this hook.
This does not happen with 0.9.1 and it seems to be mostly an iOS issue. Hopefully that will help in narrowing it down.
I'm also not able to reproduce it on a debug build. Not sure why that is exactly.
For the time being I downgraded my MMVK package and it's working fine.
I have also noticed that it's crashing when we have users trying to "update" their app with the downgraded version.
edit
I found when clearing the library cache of the current user and then having them re-log in, all seems well. So it seems like there is something the old version of the lib is binding that the new version of the lib is not finding properly.
To Reproduce
Steps to reproduce the behavior:
- Use the
useMMKVStorage()hook
Expected behavior
It returns false if the value is not there.
Screenshots
App crashes with Exception in HostFunction: <unknown>

How I'm initializing the storage

Platform Information:
- OS: Seems to mostly be iOS related.
- React Native Version 0.74.5
- Library Version 0.10.3