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))
EndSub
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.