Browse Source

Edited app delegate file to match upgrade instructions

Arnaud Vergnet 1 year ago
parent
commit
a7cac7767d
1 changed files with 10 additions and 11 deletions
  1. 10
    11
      ios/Campus/AppDelegate.m

+ 10
- 11
ios/Campus/AppDelegate.m View File

@@ -15,17 +15,6 @@
15 15
 #import <RNCPushNotificationIOS.h>
16 16
 #import <UserNotifications/UserNotifications.h>
17 17
 
18
-@implementation AppDelegate
19
-
20
-@synthesize window = _window;
21
-
22
-- (BOOL)application:(UIApplication *)application
23
-   openURL:(NSURL *)url
24
-   options:(NSDictionary<UIApplicationOpenURLOptionsKey,id> *)options
25
-{
26
-  return [RCTLinkingManager application:application openURL:url options:options];
27
-}
28
-
29 18
 #if DEBUG
30 19
 #import <FlipperKit/FlipperClient.h>
31 20
 #import <FlipperKitLayoutPlugin/FlipperKitLayoutPlugin.h>
@@ -44,6 +33,16 @@ static void InitializeFlipper(UIApplication *application) {
44 33
 }
45 34
 #endif
46 35
 
36
+@implementation AppDelegate
37
+
38
+@synthesize window = _window;
39
+
40
+- (BOOL)application:(UIApplication *)application
41
+   openURL:(NSURL *)url
42
+   options:(NSDictionary<UIApplicationOpenURLOptionsKey,id> *)options
43
+{
44
+  return [RCTLinkingManager application:application openURL:url options:options];
45
+}
47 46
 
48 47
 - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
49 48
 {

Loading…
Cancel
Save