Stay organized with collections
Save and categorize content based on your preferences.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2022-07-29 UTC."],[],[],null,["# ApnsConfig interface\n\nRepresents the APNs-specific options that can be included in an [Message](./firebase-admin.messaging.md#message). 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.\n\n**Signature:** \n\n export interface ApnsConfig \n\nProperties\n----------\n\n| Property | Type | Description |\n|-----------------------------------------------------------------------------|-----------------------------------------------------------------------------------------|--------------------------------------------------------------|\n| [fcmOptions](./firebase-admin.messaging.apnsconfig.md#apnsconfigfcmoptions) | [ApnsFcmOptions](./firebase-admin.messaging.apnsfcmoptions.md#apnsfcmoptions_interface) | Options for features provided by the FCM SDK for iOS. |\n| [headers](./firebase-admin.messaging.apnsconfig.md#apnsconfigheaders) | { \\[key: string\\]: string; } | A collection of APNs headers. Header values must be strings. |\n| [payload](./firebase-admin.messaging.apnsconfig.md#apnsconfigpayload) | [ApnsPayload](./firebase-admin.messaging.apnspayload.md#apnspayload_interface) | An APNs payload to be included in the message. |\n\nApnsConfig.fcmOptions\n---------------------\n\nOptions for features provided by the FCM SDK for iOS.\n\n**Signature:** \n\n fcmOptions?: ApnsFcmOptions;\n\nApnsConfig.headers\n------------------\n\nA collection of APNs headers. Header values must be strings.\n\n**Signature:** \n\n headers?: {\n [key: string]: string;\n };\n\nApnsConfig.payload\n------------------\n\nAn APNs payload to be included in the message.\n\n**Signature:** \n\n payload?: ApnsPayload;"]]