Change mmkv storage to after first unlock

This commit is contained in:
Diego Mello 2024-03-13 18:24:21 -03:00
parent 0525c2d352
commit 99433086bf
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@ import { create, MMKVLoader, MMKVInstance, ProcessingModes, IOSAccessibleStates
const MMKV = new MMKVLoader()
// MODES.MULTI_PROCESS = ACCESSIBLE BY APP GROUP (iOS)
.setProcessingMode(ProcessingModes.MULTI_PROCESS)
.setAccessibleIOS(IOSAccessibleStates.AFTER_FIRST_UNLOCK_THIS_DEVICE_ONLY)
.setAccessibleIOS(IOSAccessibleStates.AFTER_FIRST_UNLOCK)
.withEncryption()
.initialize();