-
Notifications
You must be signed in to change notification settings - Fork 377
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
Handling notification when app's in foreground - local notification? #1081
Comments
Howdy, Take a look at this issue to learn more. Enjoy! |
@rgomezp Is there any way to display a local notification when the app is in foreground android |
@empiteranga The SDK displays a push notification automatically, even when the app is in the foreground. If you do want to suppress this and display your own notification you can use Due note if you use |
@jkasten2 Hello, I have a question. How can I use |
Description:
Hi, considering this situation: I have some notifications pushed to the app, but one of them I want to handle it manually if app's in foreground. The other notifications are always show no matter what.
So I set inFocusDisplaying(None) and listen to 'received' event. Now I'm able to handle that notification manually, but how do I continue push the other notifications locally? Does react-native-onesignal support this or I have to use another library to do it?
The text was updated successfully, but these errors were encountered: