Releases: ammarahm-ed/react-native-mmkv-storage
Releases · ammarahm-ed/react-native-mmkv-storage
v0.7.0
What's New
- Migrate codebase to typescript
- Add support for RN 0.68 #230
- Add new builder function
withPersistedDefaultValues
. Use it to persist default value passed to hook - Added in-memory storage adapter which can be used for testing with jest.
- Run example app with local symlinks
- Expo support in docs
- Add support for type generics in
useMMKVStorage
hook
What's Fixed
- fix: secure storage unable to read data from keychain closes #195 Huge thanks to @JoniVR for this
- fix: incorrect return type for hooks
- Fix mmkv not init on main thread on iOS
v0.6.12
- Fix build failing on android when upgrading from 0.6.10
v0.6.11
v0.6.10
- Fixed auto linking in React Native 0.67.x
v0.6.9
What's New
- Fixed migration from 0.3.7 to 0.6.x
- Fixed
defaultValue
not passed as a param when using a mutator function insetValue
.
v0.6.8
- Fix multiple META-INF/MANIFEST.MF path error during detox build #199 Thanks to @andreialecu and @gersomvg
- Fixed support for android API 21 & 22. #196
v0.6.7
- Fix google developer console security warning/app review rejection #194
- Fix typescript compilation errors @hatem-72
- Fix multiple
META-INF/MANIFEST.MF
path error @gersomvg - Fix migration issue when upgrading from v0.4.4
- Refactor C++ code on android @Waqar144
- Add notice about the
Map
data type not being supported @DysphoricUnicorn - Fix return type for
getKeys
@Mookiies - Update docs related to
useIndex
/useMMKVStorage
hooks
v0.6.6
New
Auto linking on android
Thanks to @retyui. Now you can simply link library with your project with a single command.
`npx mmkv-link`
withServiceName
prop on iOS
Now you can set a custom service name for iOS keychain. This helps you solve any issues when you use any other library for storing sensitive information such as react-native-keychain
. Thanks to Andrei Tofan
Fixed
- Fixed build issues on android, especially on older versions of react-native.
- Added missing dependencies to
setNewValue
function inuseMMKVStorage
hook
v0.6.5
- Fix build failing on RN 0.66
v0.6.4
- Add support for monorepo projects
- Fix falsy value not being set in hook #163 Thanks to @pnthach95