fix: Add payload to all intents
This commit is contained in:
@@ -11,10 +11,11 @@ class AndroidNotificationsImplementation extends NotificationsImplementation {
|
||||
@override
|
||||
Future<void> createNotificationChannel(
|
||||
String title,
|
||||
String description,
|
||||
String id,
|
||||
bool urgent,
|
||||
) async {
|
||||
return _api.createNotificationChannel(title, id, urgent);
|
||||
return _api.createNotificationChannel(title, description, id, urgent);
|
||||
}
|
||||
|
||||
@override
|
||||
@@ -29,6 +30,11 @@ class AndroidNotificationsImplementation extends NotificationsImplementation {
|
||||
return _api.showNotification(notification);
|
||||
}
|
||||
|
||||
@override
|
||||
Future<void> dismissNotification(int id) async {
|
||||
return _api.dismissNotification(id);
|
||||
}
|
||||
|
||||
@override
|
||||
Future<void> setNotificationSelfAvatar(String path) async {
|
||||
return _api.setNotificationSelfAvatar(path);
|
||||
|
||||
Reference in New Issue
Block a user