Open grahac opened 1 month ago
Instead of adding a setter let's just add a comment to the readme. Something like.
apns = %{
"payload" => %{
"aps" => %{"badge" => 12, "sound" => "default"}
}
notification
|> Map.put(:apns, apns)
Is your feature request related to a problem? Please describe. FCM has a apns payload where you can directly set the iOS badge. Would like to be able to update badges remotely.
Describe the solution you'd like Add set_apns method that sets the apns payload.