A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
do not init mmkv again
ammarahm-ed942923d1de1d
diff --git a/apps/mobile/ios/Notesnook.xcodeproj/project.pbxproj b/apps/mobile/ios/Notesnook.xcodeproj/project.pbxprojindex 962b0b0fe..cf5222da0 100644--- a/apps/mobile/ios/Notesnook.xcodeproj/project.pbxproj+++ b/apps/mobile/ios/Notesnook.xcodeproj/project.pbxproj@@ -1019,6 +1019,7 @@CURRENT_PROJECT_VERSION = 1200;DEVELOPMENT_TEAM = 53CWBG3QUC;ENABLE_BITCODE = NO;+ GCC_GENERATE_DEBUGGING_SYMBOLS = YES;HEADER_SEARCH_PATHS = ("$(inherited)","\"${PODS_ROOT}/Headers/Public\"",@@ -1116,6 +1117,7 @@CODE_SIGN_STYLE = Manual;CURRENT_PROJECT_VERSION = 1200;DEVELOPMENT_TEAM = 53CWBG3QUC;+ GCC_GENERATE_DEBUGGING_SYMBOLS = YES;HEADER_SEARCH_PATHS = ("$(inherited)","\"${PODS_ROOT}/Headers/Public\"",diff --git a/apps/mobile/ios/Notesnook/AppDelegate.m b/apps/mobile/ios/Notesnook/AppDelegate.mindex dc9502ca3..3a34a12bb 100644--- a/apps/mobile/ios/Notesnook/AppDelegate.m+++ b/apps/mobile/ios/Notesnook/AppDelegate.m@@ -30,11 +30,8 @@}- (void)applicationWillTerminate:(UIApplication *)application {- NSArray *paths = NSSearchPathForDirectoriesInDomains(NSLibraryDirectory, NSUserDomainMask, YES);- NSString *libraryPath = (NSString *) [paths firstObject];- NSString *rootDir = [libraryPath stringByAppendingPathComponent:@"mmkv"];- [MMKV initializeMMKV:rootDir];- MMKV *kv = [MMKV mmkvWithID:@"default" mode:MMKVSingleProcess];++ MMKV *kv = [MMKV mmkvWithID:@"default" mode:MMKVMultiProcess];[kv removeValueForKey:@"appState"];}