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
update AppDelegate.m
ammarahm-edd07335d47927
diff --git a/apps/mobile/ios/Notes/AppDelegate.m b/apps/mobile/ios/Notes/AppDelegate.mindex 301ead723..c8966b6d2 100644--- a/apps/mobile/ios/Notes/AppDelegate.m+++ b/apps/mobile/ios/Notes/AppDelegate.m@@ -12,10 +12,42 @@#import <React/RCTRootView.h>#import "Orientation.h"+#if DEBUG+#import <FlipperKit/FlipperClient.h>+#import <FlipperKitLayoutPlugin/FlipperKitLayoutPlugin.h>+#import <FlipperKitUserDefaultsPlugin/FKUserDefaultsPlugin.h>+#import <FlipperKitNetworkPlugin/FlipperKitNetworkPlugin.h>+#import <SKIOSNetworkPlugin/SKIOSNetworkAdapter.h>+#import <FlipperKitReactPlugin/FlipperKitReactPlugin.h>+static void InitializeFlipper(UIApplication *application) {+ FlipperClient *client = [FlipperClient sharedClient];+ SKDescriptorMapper *layoutDescriptorMapper = [[SKDescriptorMapper alloc] initWithDefaults];+ [client addPlugin:[[FlipperKitLayoutPlugin alloc] initWithRootNode:application withDescriptorMapper:layoutDescriptorMapper]];+ [client addPlugin:[[FKUserDefaultsPlugin alloc] initWithSuiteName:nil]];+ [client addPlugin:[FlipperKitReactPlugin new]];+ [client addPlugin:[[FlipperKitNetworkPlugin alloc] initWithNetworkAdapter:[SKIOSNetworkAdapter new]]];+ [client start];+}+#endif@implementation AppDelegate+- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions+{+#if DEBUG+ InitializeFlipper(application);+#endif++++@implementation AppDelegate+- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions{++ #if DEBUG+ InitializeFlipper(application);+#endif+RCTBridge *bridge = [[RCTBridge alloc] initWithDelegate:self launchOptions:launchOptions];RCTRootView *rootView = [[RCTRootView alloc] initWithBridge:bridgemoduleName:@"Notes"