codedge-llc / pigeon

iOS and Android push notifications for Elixir
https://hex.pm/packages/pigeon
MIT License
606 stars 133 forks source link

Need a way to set mutable_content and content_available header fields #253

Open mazz opened 4 months ago

mazz commented 4 months ago

Is your feature request related to a problem? Please describe.

For 2.0.0.rc.2, there is no way to set the mutable_content and content_available header fields.

This was present in the LegacyFCM through:

      |> Pigeon.LegacyFCM.Notification.put_mutable_content(true)
      |> Pigeon.LegacyFCM.Notification.put_content_available(true)

Describe the solution you'd like Add an api to Pigeon.FCM.Notification for put_mutable_content() and put_content_available()