Closed dnikolaev closed 6 years ago
I did not add cancelNotification
method, because currently you can only get the notification id when the notification is tapped. However at that point the notification is removed, thus the method does not seem very practical.
Hi Marcel,
Please add these methods to the AIR SDK.
Android Native SDK provides both of them: clearOneSignalNotifications and cancelNotification.
iOS Native SDK doesn't provide such methods. So we have to use UNUserNotificationCenter methods removeAllDeliveredNotifications and removeDeliveredNotifications.
Regards, Dmitrii