Skip to content Skip to sidebar Skip to footer

How To Update A Notification Without Notifying In Android?

So I have an app that receives the temperature via MQTT. To avoid getting spammed by notifcations, I want the app to notify once, that is vibrate, play sound and then the next thre

Solution 1:

You'll want to call setOnlyAlertOnce(true) to cause updates to your notification to not send sound/vibration.


Post a Comment for "How To Update A Notification Without Notifying In Android?"