My questions are:
Is Firebase automatically setting apns-push-type header when Pigeon call it? If yes, with what value between alert and background?
There maybe should be a specific function to set it like put_priority or put_content_available?
Is there an alternative method to set it (custom headers)?
I found this Stackoverflow question that talk about ApnsConfig in Admin SDK but I don't think can be useful.
This may be helped by upgrading to HTTP v1 API for FCM (#169), which is on the roadmap for v2. There are specific options to put for different platforms in the same notification structure.
Hi, I'm using Pigeon to send custom data notifications both to Android and iOS devices through Firebase and everything works fine.
Here's an example:
As you know in iOS 13 Apple recommends the usage of a
apns-push-type
for notifications check and I saw you merged a feature to set this header in APNs system.My questions are: Is Firebase automatically setting
apns-push-type
header when Pigeon call it? If yes, with what value betweenalert
andbackground
? There maybe should be a specific function to set it likeput_priority
orput_content_available
? Is there an alternative method to set it (custom headers)?I found this Stackoverflow question that talk about ApnsConfig in Admin SDK but I don't think can be useful.
Thank you in advance