From a7cac7767d486d31f649f3c47d62bbe2c48cf434 Mon Sep 17 00:00:00 2001 From: Arnaud Vergnet Date: Thu, 28 May 2020 16:45:32 +0200 Subject: [PATCH] Edited app delegate file to match upgrade instructions --- ios/Campus/AppDelegate.m | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/ios/Campus/AppDelegate.m b/ios/Campus/AppDelegate.m index 798a77c..fde05e2 100644 --- a/ios/Campus/AppDelegate.m +++ b/ios/Campus/AppDelegate.m @@ -15,17 +15,6 @@ #import #import -@implementation AppDelegate - -@synthesize window = _window; - -- (BOOL)application:(UIApplication *)application - openURL:(NSURL *)url - options:(NSDictionary *)options -{ - return [RCTLinkingManager application:application openURL:url options:options]; -} - #if DEBUG #import #import @@ -44,6 +33,16 @@ static void InitializeFlipper(UIApplication *application) { } #endif +@implementation AppDelegate + +@synthesize window = _window; + +- (BOOL)application:(UIApplication *)application + openURL:(NSURL *)url + options:(NSDictionary *)options +{ + return [RCTLinkingManager application:application openURL:url options:options]; +} - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {