-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
hello Dante,
not sure why cant start PR.
But can I kindly ask you to create also function to remove notification?
often happens, that I receive notificaiton, open app manualy (without notification) and read the content, therefore notification is no longer relevant, but by this way the notification stays therefe forever till i swipe it out or click on it...
in Android (java), its something like:
NotificationManager notificationManager = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
int notificationId = 1; // Replace with your notification ID
notificationManager.cancel(notificationId);
in iOS (Swift):
let center = UNUserNotificationCenter.current()
let notificationId = "your_notification_id" // Replace with your notification ID
center.removeDeliveredNotifications(withIdentifiers: [notificationId])
but how to manage from QT, this would be extremly usefull enhancement of firebase-qt :)
Metadata
Metadata
Assignees
Labels
No labels