This component has an action for sending notification to mobile app via Apple Push Notification sesrvice (APNs).
SendNotification
Input parameters
Notification -- Contents of notification. Sutructure of this is included in this component. This value will be sent as JSON and must be within 4096 bytes at sending. See https://developer.apple.com/documentation/usernotifications/setting_up_a_remote_notification_server/generating_a_remote_notification#overview
DeviceToken -- Registration id target mobile iOS app obtained from APN server when the app activating.
AppId -- Application identifier of your mobile iOS app which is a target of the notification.
ApnServer -- Host FQDN of APNs server. api.sandbox.push.apple.com (for development) or api.push.apple.com (for production)
Port -- APNs server port. 443 or 2197. If you omit this, 443 will be used.
TeamId -- Team id which was issued in Apple's developer account. If you omit this value, the site property value of this module will be used.
KeyId -- Id value of AuthKey issued from Apple's developer site. If you omit this value, the site property value of this module will be used.
AuthKeyPem -- Contents of AuthKey issued from Apple's developer site. If you omit this value, the site property value of this module will be used.
ExpireAfterInHours -- The notification is no longer valid after this hours. When you omit this value, 0 will be used and your notification will be sent once.
Output parameters
IsSuccess -- When the value is True, sending notification to APNs has been succeeded.
ErrorMessage -- This value will be set when an error occurs.
Part of this component uses Bouncy Castle C# API.Copyright (c) 2000 - 2017 The Legion of the Bouncy Castle Inc. (http://www.bouncycastle.org)
Input parameter ExpireAfterInHours was added to the module action SendNotification. The notification is no longer valid after this specified hours. When you omit this value, 0 will be used and your notification will be sent once. Until previous version, 0 is always used.