Titanium.App.iOS.UserNotificationDictionary
Dictionary of notification data used in the array of notifications when receiving pending or local notifications in Titanium.App.iOS.UserNotificationCenter.getPendingNotifications and Titanium.App.iOS.UserNotificationCenter.getDeliveredNotifications.
Since: 7.3.0
Properties #
alertAction#
Type: String
Alert button text ('Open', by default) or home text ('Press Home to unlock', by default)
type: String
identifier#
Type: String
The notification identifier.
This property is required in iOS 10+ and will fallback to a generated
UUID-string if not set. It is recommended to manage the identifier
yourself, but you can also get the generated UUID by accessing via
the "userInfo.id" field for parity with older iOS versions.
region#
Type: Dictionary
Region of the notification.
The following keys are included:
- latitude: The latitude of the region.
- longitude: The longitude of the region.
- radius: The radius of the region.
- identifier: The identifier of the region.