Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

Support multiple MMKV instances

Latest
Compare
Choose a tag to compare
@pnthach95 pnthach95 released this 30 Jan 05:18
· 1 commit to main since this release

Example:

const MMKV1 = new MMKVLoader()
  .withInstanceID('test1')
  .withEncryption()
  .initialize();

const MMKV2 = new MMKVLoader()
  .withInstanceID('test2')
  .withEncryption()
  .initialize();

if (__DEV__) {
  mmkvFlipper([MMKV1, MMKV2]);
}