I dont see any information about how to use NotificationCompat with Android O\'s Notification Channels
I do see a new Constructor that takes a cha
I know this answer is late, but better late then never!
I have just released the notification-channel-compat library which provides Notification Channel support going back to OS 4.0. Since developers anyways have to design for Channels, they can now use the benefits of Channels for all devices, and they don't have to design separately for older devices.
The library uses the built-in channel classes for OS 8.0+ devices, and mimics it for older devices. All it takes, is using our NotificationChannelCompat
, NotificationChannelGroupCompat
and NotificationChannelManagerHelper
classes, and adding one line of code. You can see more at github. Please test it and let me know of any issues.
Thank you,
Lionscribe