-
Notifications
You must be signed in to change notification settings - Fork 2.2k
🔥 onNotificationOpened is not called #3833
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
Comments
Just letting you know that since 5.x is deprecated, your chances of getting maintainer help aren't too high. |
I can't update to V6 and I don't think it has all the features available in v5 |
Understandably upgrading to v6 will take effort, but staying on v5 isn't a good choice for the long term health of your project. I'd highly recommend taking the necessary pains to update to v6 |
Solves invertase#3791 using a comment from invertase#3833
I tried V6 and I didn't like not having local notifications, |
Issue
Hello,
I'm adding on notification opened event to my project,
I was successful in getting it to work on iOS when app is in background and when app is in foreground,
however when the app is killed and I click the notification the app opens but
onNotificationOpened
is not called so my custom action doesn't run.In Android the app opens but
onNotificationOpened
isn't called in any case not background nor foreground nor killedProject Files
Javascript
Click To Expand
package.json
:firebase.json
for react-native-firebase v6:# N/A
iOS
Click To Expand
ios/Podfile
:AppDelegate.m
:Android
Click To Expand
Have you converted to AndroidX?
android/gradle.settings
jetifier=true
for Android compatibility?jetifier
for react-native compatibility?android/build.gradle
:android/app/build.gradle
:android/settings.gradle
:MainApplication.java
:AndroidManifest.xml
:Environment
Click To Expand
react-native info
output:react-native-firebase
version you're using that has this issue:~5.6.0
Firebase
module(s) you're using that has the issue:Messaging, Notifications
TypeScript
?N
&VERSION
The text was updated successfully, but these errors were encountered: