fix: Add payload to all intents

This commit is contained in:
2023-07-30 20:40:59 +02:00
parent c7ee2b6c6e
commit 2490a8ee9f
10 changed files with 171 additions and 32 deletions

View File

@@ -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);