ammarahm-ed / react-native-mmkv-storage

An ultra fast (0.0002s read/write), small & encrypted mobile key-value storage framework for React Native written in C++ using JSI
https://rnmmkv.now.sh
MIT License
1.59k stars 111 forks source link

[Bug] App crashing when using useMMKVStorage hook #363

Open CoryWritesCode opened 1 hour ago

CoryWritesCode commented 1 hour ago

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.

To Reproduce Steps to reproduce the behavior:

  1. Use the useMMKVStorage() hook

Expected behavior It returns false if the value is not there.

Screenshots App crashes with Exception in HostFunction: <unknown>

image

Platform Information:

CoryWritesCode commented 1 hour ago

for the time being I downgraded my MMVK package and it's working fine.