diff --git a/RNNotifications/RNNotifications.m b/RNNotifications/RNNotifications.m index 838fb0e62d40e0e27b2a92a6c175e2bbc56cdee0..844d8e242e007a210c13a60379dc671580f4b4d7 100644 --- a/RNNotifications/RNNotifications.m +++ b/RNNotifications/RNNotifications.m @@ -576,7 +576,7 @@ RCT_EXPORT_METHOD(consumeBackgroundQueue) // Push background notifications to JS [[RNNotificationsBridgeQueue sharedInstance] consumeNotificationsQueue:^(NSDictionary* notification) { - [RNNotifications didReceiveRemoteNotification:notification]; + [RNNotifications didReceiveNotificationOnBackgroundState:notification]; }]; // Push opened local notifications