Commit 17dfab51 authored by Yogev Ben David's avatar Yogev Ben David Committed by GitHub

Merge pull request #270 from wix/fix-bg-pn-treated-as-fg

fix background PN is received as foreground
parents 6cc14dfb aa7625ce
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment