ApnsConfig interface

Represents the APNs-specific options that can be included in anMessage. Refer toApple documentation for various headers and payload fields supported by APNs.

Signature:

exportinterfaceApnsConfig

Properties

PropertyTypeDescription
fcmOptionsApnsFcmOptionsOptions for features provided by the FCM SDK for iOS.
headers{ [key: string]: string; }A collection of APNs headers. Header values must be strings.
liveActivityTokenstringAPNpushToStartToken orpushToken to start or update live activities.
payloadApnsPayloadAn 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

APNpushToStartToken orpushToken to start or update live activities.

Signature:

liveActivityToken?:string;

ApnsConfig.payload

An APNs payload to be included in the message.

Signature:

payload?:ApnsPayload;

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-08-28 UTC.