iOS - onForegroundEvent & onBackgroundEvent PRESS not fired on ios

See original GitHub issue

Hello, i know this thread maybe will be same with #496 but i still have this issue 😦

I can reproduce the step when iOS not fired the action from notification. so its happen after app is closed/quit. step 1: App installed from TestFlight (release mode) step 2: Open app for the first time App received notification, the action from press the notification is work perfectly, no matter how many notifications I get.

  • i can navigate after press the notif
  • eventtype.press is detected, from foreground and background detected.

step 3: I exit the app. step 4: I open the app again. App can received the notification. BUT ya, the action Press is not detected anymore. its only open the app, do not have any action.

and this happen only on iOS. and still happen on release mode on iOS. 😦

"@notifee/react-native": "3.0.4",
"react": "17.0.2",
"react-native": "0.66.3",
"@react-native-firebase/app": "^14.4.0",
"@react-native-firebase/crashlytics": "^14.4.0",
"@react-native-firebase/messaging": "^14.4.0",

thank you!!

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:9 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
JeongShincommented, Sep 30, 2022

@ZaidQ797 wow. thanks!!!

1reaction
ZaidQ797commented, Sep 30, 2022

you can upgrade to 7.0.0 will solve the issue on ios

Read more comments on GitHub >

github_iconTop Results From Across the Web

Events | Notifee
Please note, for iOS, the DELIVERED event is not fired for trigger notifications when the app is in the background. App open events....
Read more >
How To Make Push Notifications More Interactive In React ...
The tutorial will demonstrate up to triggering a notification on an IOS device but does not extend to how you can use notifee...
Read more >
Push Notifications (V2) | Stream Chat - React Native SDK Docs
Since the notification field is present on iOS, it is automatically picked up by the Firebase SDK and displayed to the user when...
Read more >
Notification is not navigating to a screen when pressed on ...
The problem is, when I press the notification during the app is in foreground ... hasPermission(); if (!hasPermission) { // checking for ios...
Read more >
notifee - Bountysource
How to add press action on notification to open the file. not the app. ... [iOS] onBackgroundEvent doesn't fire when a local notification...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found