-
Notifications
You must be signed in to change notification settings - Fork 764
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
Notifications.getInitialNotification() is undefined when click on notification in quite state [ANDROID] #958
Comments
same here |
In which version of Android are you experiencing this problem? |
Android 13 |
Same for me in fact... |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
This issue is still valid. |
May be solved by #966 |
Still valid |
thanks @kristofb - works. would appreciate a merge! |
The problem still valid without @kristofb's PR. How can we speed up merge process? |
If your provider is FCM, what works for me consistenly was to add yarn add @react-native-firebase/messaging and use: messaging() |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
Hi, is anyone still stuck on this issue? Because I am. Tried all the options provided here and there:
but none of these helped Recap of the bug: Tapping a notification:
The activity doesn't seem to really restart entirely: SplashScreen appears but the navigation state is preserved. Am I the only one? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
@TwistedMinda in my case, it works. Can you share the code where you call |
@zabojad Hey, good to know it can work! Well I don't really do anything fancy, just calling it: Notifications.getInitialNotification().then((notification) => {
if (notification) {
handleNotification(notification)
}
}) |
No description provided.
The text was updated successfully, but these errors were encountered: