-
Notifications
You must be signed in to change notification settings - Fork 212
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
OneSignal.shared.setNotificationReceivedHandler (not available ^3.2.7) #513
Comments
@ArivhaySoft The |
@Veloz-X Hello can you clarify what you mean by "receive data". Did you register a handler with |
There are two methods to use with notifications in one signal setNotificationWillShowInForeground is a listener that It´s only used when you are into the app. But if you are outside of the app, you need to use setNotificationOpenedHandler but you need to press to the notification to listen it. |
See #509 (comment) |
Closing issue as stale. If this is still happening in 2024 feel free to tag me to reopen |
I'm using version of onesignal_flutter: ^3.2.7 but for function setNotificationReceivedHandler I can't implement, I need this to give first action if any push come in
this is the code i usually use :
thanks in advance for the developers
The text was updated successfully, but these errors were encountered: