-
Notifications
You must be signed in to change notification settings - Fork 237
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[iOS] Foreground APNS notification not triggering listener / not handled #1041
Comments
same problem here: "react-native": "0.73.6", |
For anybody still struggling with this, here is what we got working. We set up react-native-notification to handle receiving and managing the notifications, while we use notifee to display the notifications. Here is how we broke up these two libraries:
Here is an example code snippet of how the two are married together:
|
Hi,
I am unable to get notifee to work with incoming APNS notification when react native app is in foreground.
None of the event handlers are triggered.
Notifications are received correctly and interaction with them works correctly when app is not in foreground.
Tested on real iOS device. iPhone 14 Pro Max
Versions:
"react-native": "^0.73.7",
"@notifee/react-native": "^7.8.2"
"@react-native-firebase/messaging": "^19.2.2",
// i also use FCMTested via CURL
Code handling foreground:
The text was updated successfully, but these errors were encountered: