[FIX] Logout when install fresh Official and Experimental iOS app (#2493)

This commit is contained in:
Djorkaeff Alexandre 2020-09-25 09:27:34 -03:00 committed by GitHub
parent 101aad4956
commit f86b274bc8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ static void InitializeFlipper(UIApplication *application) {
[MMKV initializeMMKV:nil groupDir:groupDir logLevel:MMKVLogNone];
// Start the MMKV container
MMKV *defaultMMKV = [MMKV defaultMMKV];
MMKV *defaultMMKV = [MMKV mmkvWithID:@"migration" mode:MMKVMultiProcess];
BOOL alreadyMigrated = [defaultMMKV getBoolForKey:@"alreadyMigrated"];
if (!alreadyMigrated) {