ApnsConfig interface

Represents the APNs-specific options that can be included in an Message. Refer to Apple documentation 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 { [key: string]: string; } 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;