Skip to content

Commit

Permalink
Fix default mmkv
Browse files Browse the repository at this point in the history
  • Loading branch information
diegolmello committed Aug 2, 2024
1 parent e934bfb commit e638952
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ios/Shared/RocketChat/MMKV.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ extension MMKV {
// let password = SecureStorage().getSecureKey("com.MMKV.default".toHex())
let groupDir = FileManager.default.groupDir()

MMKV.initialize(rootDir: nil, groupDir: groupDir, logLevel: MMKVLogLevel.none)
MMKV.initialize(rootDir: nil, groupDir: groupDir, logLevel: MMKVLogLevel.info)

guard let mmkv = MMKV(mmapID: "default", mode: MMKVMode.multiProcess) else {
guard let mmkv = MMKV(mmapID: "mmkv.default", mode: MMKVMode.multiProcess) else {
fatalError("Could not initialize MMKV instance.")
}

Expand Down

0 comments on commit e638952

Please sign in to comment.