Skip to content
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

notifee onBackgroundEvent no listen when notification is clicked #1146

Open
kabitacode opened this issue Nov 15, 2024 · 1 comment
Open

notifee onBackgroundEvent no listen when notification is clicked #1146

kabitacode opened this issue Nov 15, 2024 · 1 comment

Comments

@kabitacode
Copy link

I have a problem using notifee & firebase.
When the notification appears in the background (app is closed) when clicked the notification is not handled in onBackgroundEvent.

so the case is if the pressAction is changed to something other than the default, when clicked the log is in onBackgroundEvent, but the problem is the application does not open, while the pressAction is the default, when clicked the log is not handled in onBackgroundEvent the application also opens directly.

only type 3 is the same as DELIVERED which is heard in onBackgroundEvent.

Thank you.

My package.json :

"dependencies": {
"@notifee/react-native": "^9.1.2",
"@react-native-firebase/app": "^21.3.0",
"@react-native-firebase/messaging": "^21.3.0",
"react": "18.3.1",
"react-native": "0.76.1"
}

Screenshot 2024-11-15 at 10 16 29 Screenshot 2024-11-15 at 10 17 17
@lean098
Copy link

lean098 commented Nov 17, 2024

Same problem here!

In my case, I'm using trigger notifications, local, without firebase, closed application, the notification is shown, but when clicking the App it doesn't open.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants