-
Notifications
You must be signed in to change notification settings - Fork 218
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
[Bug]: incoming notification but no floating notification #609
Comments
having the same question |
check your code that handles the event in the code that I copied/pasted from the website, there was this line that is blocking the badge. just comment it. event.complete(null); |
Same issue here |
Hello @ayyuby26, To resolve this issue on Android, you can create an Android Notification Channel where you can define the importance of notifications. By defining a high priority, you will receive sound and popup notifications as well. If you are using an API, you need to define that channel ID in Notification API as key ‘android_channel_id’ and value as ‘your_android_channel_id’, which you can obtain from your OneSignal Dashboard by going to Settings > Messaging > Android Notification Channels. Full documentation link : https://documentation.onesignal.com/docs/android-notification-categories I hope this will solve your issue. |
Closes #609 |
What happened?
in version 3.4.2 the notification came in but only the notification sound, the floating notification didn't come in, but when I checked the notification list, the notification was there, I found this in the official onesignal video tutorial at 4:20 minutes
onesignal official video tutorial: https://youtu.be/5klspCULQe4?t=260
Steps to reproduce?
What did you expect to happen?
incoming and floating notifications
OneSignal Flutter SDK version
3.4.2
Which platform(s) are affected?
Relevant log output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: