Skip to content

Instantly share code, notes, and snippets.

View heart's full-sized avatar
🏠
i am ok

Narongrit Kanhanoi heart

🏠
i am ok
View GitHub Profile
@heart
heart / send_iOS_push.sh
Last active September 9, 2022 07:56
iOS send APNS Push via CURL and key.p8
#!/bin/bash
# -- Configuration --
DEVICE_TOKEN=XXXX439e2f0XXXXXXXXXXXXXXXXXXXXXXXXXX4728d9c688e8XXXXXX
AUTH_KEY="./AuthKey_xxxxxxxxx.p8"
AUTH_KEY_ID=XXXXXXXXX
TEAM_ID=375452VNBW
BUNDLE_ID=com.XXXXXXXXX.app
IS_PRODUCTION_SERVER=false