Posted On: Sep 10, 2019
Amazon Simple Notification Service (SNS) now supports the new apns-push-type header field for mobile notifications sent through the Apple Push Notification service (APNs). You can specify your APNs notification type as either alert or background by setting the content-available field in the JSON payload. Customers already using Amazon SNS for sending APNs alert notifications can continue to do so without making any changes.
Amazon SNS sets the APNs header value to either alert or background based on the content-available field in your APNs JSON payload configuration. An alert APNs notification notifies the user by displaying an alert message, playing a sound, or showing a badge on your application’s icon. A background APNs notification wakes up or informs your application to act upon the content of the notification, without informing the user.
Amazon SNS is a simple, reliable, scalable, and fully managed pub/sub and mobile messaging service. With Amazon SNS, you can use topics to simultaneously distribute messages to multiple subscribing endpoints such as mobile devices (SMS and push notifications), email addresses, Amazon SQS queues, AWS Lambda functions and HTTP webhooks.
For more information, see Sending Messages to APNs as Background Notifications in the Amazon SNS Developer Guide.