ApnsConfig
import type { ApnsConfig } from "https://googleapis.deno.dev/v1/fcm:v1.ts";
Apple Push Notification Service specific options.
interface ApnsConfig {
fcmOptions?: ApnsFcmOptions;
headers?: {};
[key: string]: string;
payload?: {};
}[key: string]: any;
§Properties
§
fcmOptions?: ApnsFcmOptions
[src]Options for features provided by the FCM SDK for iOS.
§
headers?: {}
[src][key: string]: string;
HTTP request headers defined in Apple Push Notification Service. Refer to
APNs request
headers
for supported headers such as apns-expiration
and apns-priority
. The
backend sets a default value for apns-expiration
of 30 days and a default
value for apns-priority
of 10 if not explicitly set.
§
payload?: {}
[src][key: string]: any;
APNs payload as a JSON object, including both aps
dictionary and custom
payload. See Payload Key
Reference.
If present, it overrides google.firebase.fcm.v1.Notification.title and
google.firebase.fcm.v1.Notification.body.