|
10 | 10 | #import "AppDelegate.h" |
11 | 11 |
|
12 | 12 | #import "RCTRootView.h" |
13 | | -#import "RCTPushNotificationManager.h" |
| 13 | +// #import "RCTPushNotificationManager.h" |
14 | 14 |
|
15 | 15 | @implementation AppDelegate |
16 | 16 |
|
@@ -59,29 +59,29 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:( |
59 | 59 | return YES; |
60 | 60 | } |
61 | 61 |
|
62 | | -// Required to register for notifications |
63 | | -- (void)application:(UIApplication *)application didRegisterUserNotificationSettings:(UIUserNotificationSettings *)notificationSettings |
64 | | -{ |
65 | | - [RCTPushNotificationManager didRegisterUserNotificationSettings:notificationSettings]; |
66 | | -} |
67 | | - |
68 | | -// Required for the register event. |
69 | | -- (void)application:(UIApplication *)application didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken |
70 | | -{ |
71 | | - [RCTPushNotificationManager didRegisterForRemoteNotificationsWithDeviceToken:deviceToken]; |
72 | | -} |
73 | | - |
74 | | -// Required for the notification event. |
75 | | -- (void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)notification |
76 | | -{ |
77 | | - [RCTPushNotificationManager didReceiveRemoteNotification:notification]; |
78 | | -} |
79 | | - |
80 | | -// Required for the localNotification event. |
81 | | -- (void)application:(UIApplication *)application didReceiveLocalNotification:(UILocalNotification *)notification |
82 | | -{ |
83 | | - [RCTPushNotificationManager didReceiveLocalNotification:notification]; |
84 | | -} |
| 62 | +// // Required to register for notifications |
| 63 | +// - (void)application:(UIApplication *)application didRegisterUserNotificationSettings:(UIUserNotificationSettings *)notificationSettings |
| 64 | +// { |
| 65 | +// [RCTPushNotificationManager didRegisterUserNotificationSettings:notificationSettings]; |
| 66 | +// } |
| 67 | + |
| 68 | +// // Required for the register event. |
| 69 | +// - (void)application:(UIApplication *)application didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken |
| 70 | +// { |
| 71 | +// [RCTPushNotificationManager didRegisterForRemoteNotificationsWithDeviceToken:deviceToken]; |
| 72 | +// } |
| 73 | + |
| 74 | +// // Required for the notification event. |
| 75 | +// - (void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)notification |
| 76 | +// { |
| 77 | +// [RCTPushNotificationManager didReceiveRemoteNotification:notification]; |
| 78 | +// } |
| 79 | + |
| 80 | +// // Required for the localNotification event. |
| 81 | +// - (void)application:(UIApplication *)application didReceiveLocalNotification:(UILocalNotification *)notification |
| 82 | +// { |
| 83 | +// [RCTPushNotificationManager didReceiveLocalNotification:notification]; |
| 84 | +// } |
85 | 85 |
|
86 | 86 |
|
87 | 87 | @end |
0 commit comments