diff --git a/src/ios/PushwooshPlugin/Pushwoosh.m b/src/ios/PushwooshPlugin/Pushwoosh.m index 134ab30..491283e 100644 --- a/src/ios/PushwooshPlugin/Pushwoosh.m +++ b/src/ios/PushwooshPlugin/Pushwoosh.m @@ -373,6 +373,10 @@ - (void)application:(UIApplication *)application didFailToRegisterForRemoteNotif [[Pushwoosh sharedInstance] handlePushRegistrationFailure:error]; } +- (void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo fetchCompletionHandler:(void (^)(UIBackgroundFetchResult))completionHandler { + [[Pushwoosh sharedInstance] handlePushReceived:userInfo]; +} + #pragma mark - UNUserNotificationCenter Delegate Methods #pragma mark -