notification_channel_manager 0.0.1-dev+1 notification_channel_manager: ^0.0.1-dev+1 copied to clipboard
A Android plugin to Manage (CRUD) NotificationChannels and NotificationChannelGroups.
notification_channel_manager (WIP) #
A Android plugin to Manage (CRUD) NotificationChannels and NotificationChannelGroups.
Useful Links #
Things to keep in mind #
-
Notification Channels are an API 26 (Android 8) and above feature. If your app is targeting an older version of Android, no errors will be thrown, but the plugin won't do anything.
-
Deleting a notification channel is soft delete, creating another with the same
id
will undelete it and keep the same settings as the old one. see this. -
Deleting a notification channel group will delete all the channels in the group.
-
The notification settings screen displays the number of deleted channels, as a spam prevention mechanism. You can clear test channels on development devices either by reinstalling the app or by clearing the data associated with your copy of the app.
-
After creating a notification channel, you can only update the name, description, and importance;
-
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. Make sure to check the Android documentation for further information.
ROADMAP #
- Dart:
- Define classes for NotificationChannel and NotificationChannelGroup
- Define a NotificationChannelManager class
- Define interfaces for NotificationChannelManager to use with the Native API
- Android:
- Implement functionalities on Native API
Contributing #
This project is open source. Contributions are more than welcome!
Documentation #
WIP