DEL: Remove deprecated delegate call

This commit is contained in:
Marcos Rodriguez Velez 2024-09-14 10:23:28 -04:00 committed by Overtorment
parent 528a0f03e6
commit 5cf0b59bec

View file

@ -253,12 +253,7 @@
{ {
[RNCPushNotificationIOS didRegisterForRemoteNotificationsWithDeviceToken:deviceToken]; [RNCPushNotificationIOS didRegisterForRemoteNotificationsWithDeviceToken:deviceToken];
} }
// Required for the notification event. You must call the completion handler after handling the remote notification.
- (void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo
fetchCompletionHandler:(void (^)(UIBackgroundFetchResult))completionHandler
{
[RNCPushNotificationIOS didReceiveRemoteNotification:userInfo fetchCompletionHandler:completionHandler];
}
// Required for the registrationError event. // Required for the registrationError event.
- (void)application:(UIApplication *)application didFailToRegisterForRemoteNotificationsWithError:(NSError *)error - (void)application:(UIApplication *)application didFailToRegisterForRemoteNotificationsWithError:(NSError *)error
{ {