Back to results for “Applications”
AWS › Amazon SNS (Simple Notification Service)

How does SNS support mobile push notifications to applications on iOS and Android devices?

Intermediate

Answer

SNS Mobile Push lets you send notifications directly to mobile applications by first registering your app with the appropriate push notification service, such as Apple Push Notification Service or Firebase Cloud Messaging, creating platform endpoints for each device, and then publishing messages either directly to individual device endpoints or to a topic that many devices are subscribed to, letting you notify one user or broadcast to your entire mobile user base.
aws sns create-platform-endpoint --platform-application-arn arn:aws:sns:us-east-1:123456789012:app/APNS/MyApp --token device-token-abc123
Real-world example A mobile shopping app uses SNS Mobile Push to send a personalized notification directly to a specific customer's phone when an item on their wish list goes on sale, while also using topic based broadcasts to announce major site wide promotions to all users.

Common follow-ups: What is the difference between publishing to a single endpoint versus a topic for mobile push?;How do you handle expired or invalid device tokens?