Skip to content
This repository was archived by the owner on Apr 20, 2024. It is now read-only.

keapick/EchoNotifications

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EchoNotification

iOS push notification example

Rich Notification screenshot

Apple push certificate

Create a push certificate on the Apple developer site.

Create Push Cert screenshot 1 Create Push Cert screenshot 2

Server certificate

Create a p12 server certificate with keychain.

Request cert screenshot

Export cert screenshot 1

Export cert screenshot 2

Export cert screenshot 3

AWS Simple Notification Service

Upload credentials to AWS Simple Notification Service.

Upload credentials to AWS screenshot

Create an Application and register your device as an endpoint.

Application AWS screenshot

Endpoint AWS screenshot

Sample push payload

{
  "APNS_SANDBOX": "{\"aps\":{\"alert\":\"Hello World\"}}"
}

Sample push payload with image

{
    "APNS_SANDBOX": "{\"aps\":{\"alert\":\"Hello World\",\”mutable-content\":1},\"assetURL\":\"https://upload.wikimedia.org/wikipedia/commons/0/06/Pierre_de_Coubertin_Anefo.jpg\"}"
}

Testing

Test media URLs

Asset test screenshot

Successful rich notification

Success screenshot

Failure notification

Failure screenshot

About

Sample iOS push notifications and AWS SNS

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors