Represents the APNs-specific options that can be included in an . Refer to [Apple documentation](https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/CommunicatingwithAPNs.html) for various headers and payload fields supported by APNs.
Signature:
export interface ApnsConfig
Properties
Property | Type | Description |
---|---|---|
fcmOptions | ApnsFcmOptions | Options for features provided by the FCM SDK for iOS. |
headers | A collection of APNs headers. Header values must be strings. | |
payload | ApnsPayload | An APNs payload to be included in the message. |
ApnsConfig.fcmOptions
Options for features provided by the FCM SDK for iOS.
Signature:
fcmOptions?: ApnsFcmOptions;
ApnsConfig.headers
A collection of APNs headers. Header values must be strings.
Signature:
headers?: {
[key: string]: string;
};
ApnsConfig.payload
An APNs payload to be included in the message.
Signature:
payload?: ApnsPayload;