AppleHeaders interface
The list of APNs specific headers.
- Extends
-
Record<string, unknown>
Properties
| apns-collapse-id | An identifier you use to merge multiple notifications into a single notification for the user. |
| apns-expiration | The date at which the notification is no longer valid. This value is a UNIX epoch expressed in seconds (UTC). |
| apns-id | A canonical UUID that’s the unique ID for the notification. |
| apns-priority | The priority of the notification. If you omit this header, APNs sets the notification priority to 10. |
| apns-push-type | The value of this header must accurately reflect the contents of your notification’s payload. |
| apns-topic | The topic for the notification. In general, the topic is your app’s bundle ID/app ID. |
Property Details
apns-collapse-id
An identifier you use to merge multiple notifications into a single notification for the user.
apns-collapse-id?: string
Property Value
string
apns-expiration
The date at which the notification is no longer valid. This value is a UNIX epoch expressed in seconds (UTC).
apns-expiration?: string
Property Value
string
apns-id
A canonical UUID that’s the unique ID for the notification.
apns-id?: string
Property Value
string
apns-priority
The priority of the notification. If you omit this header, APNs sets the notification priority to 10.
apns-priority?: "5" | "10"
Property Value
"5" | "10"
apns-push-type
The value of this header must accurately reflect the contents of your notification’s payload.
apns-push-type?: ApnsPushTypes
Property Value
apns-topic
The topic for the notification. In general, the topic is your app’s bundle ID/app ID.
apns-topic?: string
Property Value
string