mirror of
https://github.com/InvertGeek/MixFile.git
synced 2026-05-23 01:41:30 +08:00
multi process mode for mmkv
This commit is contained in:
@@ -49,7 +49,7 @@ class App : Application(), ImageLoaderFactory {
|
||||
override fun onCreate() {
|
||||
super.onCreate()
|
||||
MMKV.initialize(this)
|
||||
kv = MMKV.defaultMMKV()
|
||||
kv = MMKV.defaultMMKV(MMKV.MULTI_PROCESS_MODE, null)
|
||||
kv.enableCompareBeforeSet()
|
||||
Thread.setDefaultUncaughtExceptionHandler { t, e ->
|
||||
showError(e)
|
||||
|
||||
Reference in New Issue
Block a user