I\'m writing an app using notification. Google developer guidelines encourages developers to provide settings to customize the notifications (disable vibration, set notifica
In the year 2020:
Setting the importance of the notification channel to NotificationManager.IMPORTANCE_NONE worked for me.
NotificationManager.IMPORTANCE_NONE