1. ファイルをダウンロード
1 | curl -o sender.sh https://gist.githubusercontent.com/hmhv/7ab39297bdb5efe8b63cd024d893f6bd/raw/29328be9e54a3c1fe36f97369bb1f5d13db286d4/sender.sh |
2. 以下のページを参考にparams.shの各パラメータを編集
- Generating a Remote Notification
- Sending Notification Requests to APNs
- Sending Push Notifications Using Command-Line Tools
3. sender.shを実行
1 | ./sender.sh ./params.sh |