In my testing it seems like SNS does add the apns-push-type
field. Actually, it seems like Apple / iOS is not yet enforcing the apns-push-type
field requirement. Pushes sent via Knuff do not contain this header, and yet they are received by an iOS 13 beta 8 device. I can also receive prominent notifications (i.e. user visible notifications) on an iOS 13 device, sent via SNS. Do prominent notifications work for you?
Since you said that you're only noticing problems with silent notifications, perhaps you are running into this conflict with the apns-priority
value:
apns-priority The priority of the notification. If you omit this header, APNs sets the notification priority to 10.
Specify 10 to send the notification immediately. A value of 10 is
appropriate for notifications that trigger an alert, play a sound, or
badge the app’s icon. It's an error to specify this priority for a
notification whose payload contains the content-available key.
Specify 5 to send the notification based on power considerations on
the user’s device. Use this priority for notifications whose payload
includes the content-available key. Notifications with this priority
might be grouped and delivered in bursts to the user’s device. They
may also be throttled, and in some cases not delivered.
Attempting to send a notification with apns-priority = 10
and the content-available
key (used for silent pushes) is an error. Maybe that's why your silent pushes are being dropped?