APNS SHELL SAMPLE
apns-push.sh Get curl with HTTP/2 and openssl with ECDSA: ‘brew install curl openssl’ curl=/usr/bin/curl openssl=/usr/bin/openssl ————————————————————————– HostDevelopment = “https://api.development.push.apple.com” HostProduction = “https://api.push.apple.com” deviceToken=A4A9C1DACC0D0B858EC81EBCD2D01BA06FA4F9C213C3AE8A60242C1BFCC0D854 authKey=”./AuthKey_G9PBT4SCXY.p8″ authKeyId=G9PBT4SCXY teamId=88JGVVK94C bundleId=com.eziagent.yiju endpoint=https://api.development.push.apple.com read -r -d ” payload <<-‘EOF’ { “aps”: { “badge”: 2, “category”: “mycategory”, “alert”: { “title”: “my title”, “subtitle”: “my subtitle”, “body”: “my body text message” } …
