GoogleApi.FCM.V1.Model.ApnsConfig (google_api_fcm v0.8.2) View Source

Apple Push Notification Service specific options.


  • fcmOptions (type: GoogleApi.FCM.V1.Model.ApnsFcmOptions.t, default: nil) - Options for features provided by the FCM SDK for iOS.
  • headers (type: map(), default: nil) - HTTP request headers defined in Apple Push Notification Service. Refer to APNs request headers for supported headers such as apns-expiration and apns-priority.
  • payload (type: map(), default: nil) - 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. 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.

Link to this section Summary


Unwrap a decoded JSON object into its complex fields.

Link to this section Types


t() :: %GoogleApi.FCM.V1.Model.ApnsConfig{
  fcmOptions: GoogleApi.FCM.V1.Model.ApnsFcmOptions.t() | nil,
  headers: map() | nil,
  payload: map() | nil

Link to this section Functions


decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.