-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
onNotification doesn't work second time when clicking on notification from killed mode #1814
Comments
Hi @Sheleya |
No. |
Unable to reproduce, please check the exemple project or issue history, this is probably documented. |
The starting point should be two local notifications in notification center and closed app. Have you reproduced in this way? |
Yes, please take a look to the exemple project. |
Please check this answer... |
Bug
I have scheduled two local notifications one after another immediately. App is killed. Waiting when notification center will have two notifications. Pressing on first one will open the app and the onNotification method will trigger (OKAY), but staying in the app after opening, clicking on second notification in the foreground will not trigger the onNotification.
.configure set in index.js file.
Android-only bug.
Environment info
react-native: 0.63.3
react-native-push-notification: 6.1.3
Steps To Reproduce
Describe what you expected to happen:
Both onNotification methods should trigger.
But triggers only first.
Reproducible sample code
The text was updated successfully, but these errors were encountered: