flutter_notification_channel 0.0.1 copy "flutter_notification_channel: ^0.0.1" to clipboard
flutter_notification_channel: ^0.0.1 copied to clipboard

outdated

firebase_messaging version 7.0.3 (current) and lower do not allow setting a channel for notification, thus notifications don't play any sounds. This plugin is made merely for the purpose of creation a [...]

flutter_notification_channel #

This plugin is made to register custom notification channels on Android. Why is it necessary? E.g. flutter firebase_messaging version 7.0.3 (current) and lower do not allow registering a custom channel for notification, thus notifications don't play any sounds. This plugin is made merely for the purpose of creation a notification channel with difference importance. The channel then can be used in firebase

How to use #

Simply call it like this

var result = await FlutterNotificationChannel.registerNotificationChannel(
    description: 'Your channel description',
    id: 'your_channel_id',
    importance: NotificationImportance.IMPORTANCE_HIGH,
    name: 'Your channel name'
);
print(result);
29
likes
0
pub points
95%
popularity

Publisher

verified publishersoftmaestri.com

firebase_messaging version 7.0.3 (current) and lower do not allow setting a channel for notification, thus notifications don't play any sounds. This plugin is made merely for the purpose of creation a notification channel with difference importance. The channel then can be used in firebase

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on flutter_notification_channel