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 · 3 comments
Open

notifee onBackgroundEvent no listen when notification is clicked #1146

kabitacode opened this issue Nov 15, 2024 · 3 comments

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.

Copy link

Hello 👋, to help manage issues we automatically close stale issues.

This issue has been automatically marked as stale because it has not had activity for quite some time.Has this issue been fixed, or does it still require attention?

This issue will be closed in 15 days if no further activity occurs.

Thank you for your contributions.

@stefanab
Copy link

I am no Android expert, but seems it might be related to PendingIntent changes in Android 14 here or here?

If anybody can give me some pointers where to look, I can have a go at resolving this issue

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

3 participants