-
Notifications
You must be signed in to change notification settings - Fork 763
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
Integration with React Native Firebase V6. Initial Notification on Android is undefined #428
Comments
Got the same problem and have to add some native workaround to make it work :s |
Hi @Aurelienlajoinie , |
I use something like this in MainActivity.java:
And the flag is set in my custom PushNotification class:
Hope it helps someone :) |
Thanks for sharing this @Aurelienlajoinie . I finally decided to downgrade react native firebase to v5 but I will try your solution on a sample project :) |
@Aurelienlajoinie can you please share the whole MainActivity.java or the whole files/classes? |
@efstathiosntonas my workaround doesn't work anymore with version 3.1.1 :s i have to find another solution. |
Thanks, if you manage to find a solution it would be great to post it here :) |
have the same issue selecting a notification from cold start launches the app but gives a null initial notification |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
I also have this issue with version |
I also have this issue on version |
1 similar comment
I also have this issue on version |
@efstathiosntonas - Were you able to come up with a solution to this issue? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
The issue has been closed for inactivity. |
Hi,
I integrate your librairy with react native firebase v6 (cloud messaging).
I receive the notification on Android, but when i click on it, the notification is undefined (PendingNotifications.getInitialNotification()) :
Initial notification was: N/A
I made no change on AndroidManifest.xml (Autolinking)
When app is opened, the "notificationOpenListener" work correctly
Could you help me ?
Thanks
The text was updated successfully, but these errors were encountered: