Without using the delete, is possible to update a Notification Channel Importance level after it was created?

2.7k Views Asked by At

Without deleting the channel.

After created a notification channel on Android, is that possible to update the importance level of a specific channel though application update? Just calling the createNotificationChannel again or reinstalling the app is not being enough.

2

There are 2 best solutions below

5
On BEST ANSWER

No, it's not possible.

As explained in the documentation:

You can't programmatically modify the behavior of a notification channel after it's created and submitted to the notification manager; the user is in charge of those settings after creation.

0
On

According to the specs, you can invoke createNotificationChannel again, with a lower importance level only:

The importance of an existing channel will only be changed if the new importance is lower than the current value and the user has not altered any settings on this channel.