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] Library doesn't always cleanly replace AsyncStorage due to missing callbacks #292

Closed mmmoussa closed 2 years ago

mmmoussa commented 2 years ago

Describe the bug Library does not cleanly swap out AsyncStorage due to lacking getItem and setItem callbacks, as included in the AsyncStorage methods.

To Reproduce

  1. Try to swap out AsyncStorage with this library in a context where the callback is required.

Expected behavior

  1. Callback logic never executed

Screenshots N/A

Platform Information: