Skip to content

Instantly share code, notes, and snippets.

View dmi3j's full-sized avatar
🎯
Focusing

Dmitrijs Beloborodovs dmi3j

🎯
Focusing
  • Riga, Latvia
  • 18:35 (UTC +03:00)
  • X @dmi3j
View GitHub Profile
@dmi3j
dmi3j / push.sh
Created August 21, 2020 09:19 — forked from egcode/push.sh
push notification curl
#!/bin/bash
# to execute it first chmod +x push.sh
deviceToken=<device token id from device did receive token>
authKey="./AuthKey_<auth_key>.p8"
authKeyId=<auth_key>
teamId=<team id>
bundleId=<bundle id>
endpoint=https://api.development.push.apple.com