Skip to content

Commit

Permalink
Merge pull request #158 from Pushwoosh/bugfix/SDK-231-silent-pushes-bug
Browse files Browse the repository at this point in the history
[bugfix][SDK-231] fixed silent pushes receiving
  • Loading branch information
akidisdev authored Feb 19, 2024
2 parents cabcf60 + dd95ba3 commit d02cf4b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/ios/PushwooshPlugin/Pushwoosh.m
Original file line number Diff line number Diff line change
Expand Up @@ -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 -

Expand Down

0 comments on commit d02cf4b

Please sign in to comment.