-
-
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() is not fired when app is in background. #652
Comments
it not supposed to be in the component tree, hope that helps. |
same problem |
@atebit Unable to understand what your wrote. Should we place |
This might be helpful. |
React Native Push Notifications clearly states that we need to call configure outside of the React Native Lifecycle. This is very important. |
Having the same issue, @kckunal2612 any workaround? |
Do not put This can be closed as it's not an issue... |
@atebit why is this the way it is? I need to navigate and do react things in the onNotification() call back. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 30 days if no further activity occurs. Thank you for your contributions. |
I am able to get logs on the console from onNotification() method when app is open (in foreground), but not getting any when app is closed (not killed).
Here is my code -
The text was updated successfully, but these errors were encountered: