aPNSPushType property
The type of push notification to send. Valid values are:
- alert - For a standard notification that's displayed on recipients' devices and prompts a recipient to interact with the notification.
- background - For a silent notification that delivers content in the background and isn't displayed on recipients' devices.
- complication - For a notification that contains update information for an app’s complication timeline.
- fileprovider - For a notification that signals changes to a File Provider extension.
- mdm - For a notification that tells managed devices to contact the MDM server.
- voip - For a notification that provides information about an incoming VoIP call.
For more information about the apns-push-type request header, see Sending Notification Requests to APNs on the Apple Developer website.
Implementation
final String? aPNSPushType;