|
@@ -302,7 +302,7 @@ static NSMutableArray<ApplicationDelegateService *> *services = nil;
|
|
|
|
|
|
// MARK: Remote Notification
|
|
// MARK: Remote Notification
|
|
|
|
|
|
-- (void)application:(UIApplication *)application didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken {
|
|
|
|
|
|
+- (void)godot:(UIApplication *)application receivedNotificationToken:(NSData *)deviceToken {
|
|
for (ApplicationDelegateService *service in services) {
|
|
for (ApplicationDelegateService *service in services) {
|
|
if (![service respondsToSelector:_cmd]) {
|
|
if (![service respondsToSelector:_cmd]) {
|
|
continue;
|
|
continue;
|
|
@@ -312,7 +312,7 @@ static NSMutableArray<ApplicationDelegateService *> *services = nil;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
-- (void)application:(UIApplication *)application didFailToRegisterForRemoteNotificationsWithError:(NSError *)error {
|
|
|
|
|
|
+- (void)godot:(UIApplication *)application receivedNotificationError:(NSError *)error {
|
|
for (ApplicationDelegateService *service in services) {
|
|
for (ApplicationDelegateService *service in services) {
|
|
if (![service respondsToSelector:_cmd]) {
|
|
if (![service respondsToSelector:_cmd]) {
|
|
continue;
|
|
continue;
|
|
@@ -322,7 +322,7 @@ static NSMutableArray<ApplicationDelegateService *> *services = nil;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
-- (void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo fetchCompletionHandler:(void (^)(UIBackgroundFetchResult result))completionHandler {
|
|
|
|
|
|
+- (void)godot:(UIApplication *)application receivedNotification:(NSDictionary *)userInfo completion:(APNSNotification)completionHandler {
|
|
for (ApplicationDelegateService *service in services) {
|
|
for (ApplicationDelegateService *service in services) {
|
|
if (![service respondsToSelector:_cmd]) {
|
|
if (![service respondsToSelector:_cmd]) {
|
|
continue;
|
|
continue;
|