Reputation: 3629
We are sending Push Notifcations to our Android app. We want them to appear as a "Pop-Up" by default.
The only way I have been able to get that to work dfo that seend to do that is to target a specific notification channel with an Importance of High.When we do that we do get a visible pop-up for our Notification.
The problem with setting the importance is that by default we then get a Sound playing as well.
Upvotes: 0
Views: 558
Reputation: 607
As far I know you will have to set the channel sound explicitly to null:
channel.setSound(null, null)
The problem is that Android does not allow you to change a Channel sound configuration after creation. You may need to use another channel with importance HIGH and sound set to null. Hope it helps.
Upvotes: 1