Skip to content

Instantly share code, notes, and snippets.

View jgowdy's full-sized avatar
🏠
Working from home

Jay Gowdy jgowdy

🏠
Working from home
View GitHub Profile
@jgowdy
jgowdy / wtf-sns-apns.js
Created June 1, 2018 16:29 — forked from brianleroux/wtf-sns-apns.js
Send a silent push notification to APNS with AWS SNS.
sns.publish({
TargetArn: device.arn,
MessageStructure: 'json',
Message: JSON.stringify({
default: 'you will never see this muah!',
APNS_SANDBOX: JSON.stringify({
aps: {
'alert': '',
'content-available': 1
},

Keybase proof

I hereby claim:

  • I am jgowdy on github.
  • I am jgowdy (https://keybase.io/jgowdy) on keybase.
  • I have a public key whose fingerprint is E730 69B9 A301 C64C 85EA 8D00 2ECC 00F4 7BB3 C6AC

To claim this, I am signing this object: