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.
liveActivityToken string APN pushToStartToken or pushToken to start or update live activities.
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.liveActivityToken

APN pushToStartToken or pushToken to start or update live activities.

Signature:

liveActivityToken?: string;

ApnsConfig.payload

An APNs payload to be included in the message.

Signature:

payload?: ApnsPayload;