Stay organized with collections
Save and categorize content based on your preferences.
FirebaseAdmin.Messaging.ApnsConfig
Represents the APNS-specific options that can be included in a Message.
Summary
Refer to APNs documentation for various headers and payload fields supported by APNS.
Properties
|
Aps
|
Gets or sets the aps dictionary to be included in the APNs payload.
|
CustomData
|
IDictionary< string, object >
Gets or sets a collection of arbitrary key-value data that will be included in the APNs payload.
|
FcmOptions
|
Gets or sets the FCM options to be included in the message.
|
Headers
|
IReadOnlyDictionary< string, string >
Gets or sets the APNs headers.
|
LiveActivityToken
|
string
Gets or sets the APNs token used for live activities on iOS.
|
Properties
Aps
Aps Aps
Gets or sets the aps
dictionary to be included in the APNs payload.
CustomData
IDictionary< string, object > CustomData
Gets or sets a collection of arbitrary key-value data that will be included in the APNs payload.
FcmOptions
ApnsFcmOptions FcmOptions
Gets or sets the FCM options to be included in the message.
IReadOnlyDictionary< string, string > Headers
Gets or sets the APNs headers.
LiveActivityToken
string LiveActivityToken
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-07-09 UTC.
[null,null,["Last updated 2025-07-09 UTC."],[],[],null,["# FirebaseAdmin.Messaging.ApnsConfig Class Reference\n\nFirebaseAdmin.Messaging.ApnsConfig\n==================================\n\nRepresents the APNS-specific options that can be included in a [Message](/docs/reference/admin/dotnet/class/firebase-admin/messaging/message#class_firebase_admin_1_1_messaging_1_1_message).\n\nSummary\n-------\n\nRefer to [APNs documentation](https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/APNSOverview.html) for various headers and payload fields supported by APNS.\n\n| ### Properties ||\n|-------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [Aps](#class_firebase_admin_1_1_messaging_1_1_apns_config_1a390632ca8806867363ffabaeb5cdbcfe) | [Aps](/docs/reference/admin/dotnet/class/firebase-admin/messaging/aps#class_firebase_admin_1_1_messaging_1_1_aps) Gets or sets the `aps` dictionary to be included in the APNs payload. |\n| [CustomData](#class_firebase_admin_1_1_messaging_1_1_apns_config_1aec57fafcb439cd673aedbfa88d77dbd1) | `IDictionary\u003c string, object \u003e` Gets or sets a collection of arbitrary key-value data that will be included in the APNs payload. |\n| [FcmOptions](#class_firebase_admin_1_1_messaging_1_1_apns_config_1aec11ccf19057724e851c6e8e98aa1114) | [ApnsFcmOptions](/docs/reference/admin/dotnet/class/firebase-admin/messaging/apns-fcm-options#class_firebase_admin_1_1_messaging_1_1_apns_fcm_options) Gets or sets the FCM options to be included in the message. |\n| [Headers](#class_firebase_admin_1_1_messaging_1_1_apns_config_1a7a9858f0b30ef7c437205ca01d6e62f6) | `IReadOnlyDictionary\u003c string, string \u003e` Gets or sets the APNs headers. |\n| [LiveActivityToken](#class_firebase_admin_1_1_messaging_1_1_apns_config_1a73a5c8096de53e5830be10adf9112f14) | `string` Gets or sets the APNs token used for live activities on iOS. |\n\nProperties\n----------\n\n### Aps\n\n```text\nAps Aps\n``` \nGets or sets the `aps` dictionary to be included in the APNs payload. \n\n### CustomData\n\n```text\nIDictionary\u003c string, object \u003e CustomData\n``` \nGets or sets a collection of arbitrary key-value data that will be included in the APNs payload. \n\n### FcmOptions\n\n```text\nApnsFcmOptions FcmOptions\n``` \nGets or sets the FCM options to be included in the message. \n\n### Headers\n\n```text\nIReadOnlyDictionary\u003c string, string \u003e Headers\n``` \nGets or sets the APNs headers. \n\n### LiveActivityToken\n\n```text\nstring LiveActivityToken\n``` \nGets or sets the APNs token used for live activities on iOS.\n\nRefer to [Firebase live activity documentation](https://firebase.google.com/docs/cloud-messaging/ios/live-activity) for more information."]]