An ultra fast (0.0002s read/write), small & encrypted mobile key-value storage framework for React Native written in C++ using JSI
MIT License
Bot releases are hidden (Show)
Full Changelog: https://github.com/ammarahm-ed/react-native-mmkv-storage/compare/v0.9.0...v0.10.3
Published by ammarahm-ed over 1 year ago
Full Changelog: https://github.com/ammarahm-ed/react-native-mmkv-storage/compare/v0.8.0...v0.9.0
Published by ammarahm-ed about 2 years ago
Thanks to pnthach95 flipper plugin is finally here. https://github.com/pnthach95/flipper-plugin-react-native-mmkv-storage. It supports logging and manipulating storage values on the fly.
You can install it directly from plugin manager:
The default iOS keychain accessibility level has been changed to AFTER_FIRST_UNLOCK
from WHEN_UNLOCKED
. You can read more about why this change was made here #263 #246 & #195. If your app functionality depends on WHEN_UNLOCKED
accessibility level. You must set it manually:
export const encryptedStorage = new MMKVLoader()
.setAccessibleIOS(IOSAccessibleStates.WHEN_UNLOCKED)
.withInstanceID('encrypted')
.withEncryption()
.initialize();
Full Changelog: https://github.com/ammarahm-ed/react-native-mmkv-storage/compare/v0.7.6...v0.8.0
Published by ammarahm-ed over 2 years ago
Full Changelog: https://github.com/ammarahm-ed/react-native-mmkv-storage/compare/v0.7.5...v0.7.6
Published by ammarahm-ed over 2 years ago
Fix: set defaultValue
parameter in useMMKVStorage
hook optional
Published by ammarahm-ed over 2 years ago
removeItem
breaking useMMKVStorage
hook #252useMMKVStorage
hook not returning same default value as get/set functions #252Full Changelog: https://github.com/ammarahm-ed/react-native-mmkv-storage/compare/v0.7.3...v0.7.4
Published by ammarahm-ed over 2 years ago
Full Changelog: https://github.com/ammarahm-ed/react-native-mmkv-storage/compare/v0.7.2...v0.7.3
Published by ammarahm-ed over 2 years ago
useMMKVStorage
hook not updating when removing a value or setting it to null/undefined #163 @autoreleasefoolThe default MMKVStorage.Loader
import has been deprecated in favor of direct importing. @unfernandito
Before:
import MMKVStorage from "react-native-mmkv-storage";
const MMKV = new MMKVStorage.Loader().initialize();
Now more simple and clear:
import {MMKVLoader} from "react-native-mmkv-storage";
const MMKV = new MMKVLoader().initialize();
Published by ammarahm-ed over 2 years ago
Published by ammarahm-ed over 2 years ago
withPersistedDefaultValues
. Use it to persist default value passed to hookuseMMKVStorage
hookPublished by ammarahm-ed over 2 years ago
Published by ammarahm-ed over 2 years ago
Published by ammarahm-ed over 2 years ago
Published by ammarahm-ed almost 3 years ago
defaultValue
not passed as a param when using a mutator function in setValue
.Published by ammarahm-ed almost 3 years ago
Published by ammarahm-ed almost 3 years ago
META-INF/MANIFEST.MF
path error @gersomvgMap
data type not being supported @DysphoricUnicorngetKeys
@MookiiesuseIndex
/useMMKVStorage
hooksPublished by ammarahm-ed about 3 years ago
Thanks to @retyui. Now you can simply link library with your project with a single command.
`npx mmkv-link`
withServiceName
prop on iOSNow 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
setNewValue
function in useMMKVStorage
hookPublished by ammarahm-ed about 3 years ago
Published by ammarahm-ed about 3 years ago
Published by ammarahm-ed about 3 years ago