Archived
fix: Add payload to all intents
This commit is contained in:
1 parent
c7ee2b6c6e
commit
2490a8ee9f
10 files changed
+171
-32
No files matched your search
@@ -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