React-native-notifications: iOS - notificationReceivedBackground event triggered when app is in the foreground

Created on 6 Apr 2019  路  7Comments  路  Source: wix/react-native-notifications

Not entirely sure why this is happening but at the moment my app if the app is in the foreground and I send a push notification via VOIP the following three events are triggered

notificationReceivedForeground
notificationReceivedBackground
notificationOpened

If the app is in the foreground, I would have expected for the Foreground event to be the only event fired..

Can anyone help explain to me why?

馃彋 stale

Most helpful comment

Created a PR to fix this. Works locally on my machine 320

All 7 comments

+1

Created a PR to fix this. Works locally on my machine 320

Have tried on mine and it works like a charm. I am wondering when those PRs will be picked up from someone with merge rights?

@artald I guess this should have been included on the 1.4.0, no?

@rodrigofeijao doesn't seem to have been included.

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
If you believe the issue is still relevant, please test on the latest Detox and report back. Thank you for your contributions.

The issue has been closed for inactivity.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

VRBitman picture VRBitman  路  6Comments

Mimble-Wimble picture Mimble-Wimble  路  3Comments

Lastin picture Lastin  路  5Comments

ghost picture ghost  路  3Comments

fosteruk picture fosteruk  路  5Comments