A class that creates local notifications based on the newer iOS 10+ API.
The notifications are configured to show even when the app is in the foreground.
You can also add actions to the notifications:
a small update for those who wish to clear a delivered notification. sorry if this is not the right place to post this.
B4X:
' // https://developer.apple.com/documentation/usernotifications/unusernotificationcenter/1649500-removedeliverednotifications
Public Sub RemoveDeliveredNotifications (Identifiers As List)
NotificationCenter.RunMethod("removeDeliveredNotificationsWithIdentifiers:", Array(Identifiers))
End Sub