/BustPushAss

BustPushAss is a MacOS app used to send push notifications to the devices.

Primary LanguageSwiftMIT LicenseMIT

BustPushAss

BustPushAss is a MacOS app used to send push notification to devices. It's a front-end GUI tools that runs a curl command line internally.

e.g.

/usr/local/Cellar/curl/7.50.1/bin/curl -d '{"aps":{"alert":"Hi!","sound":"default"}}' \
--cert "pem_file_path:pem_password" -H "apns-topic: your.bundler.id" \
--http2 https://api.push.apple.com/3/device/your_device_token

Usage

  1. Import the pem file from the APNS certificates for Push Notifications. e.g.

openssl pkcs12 -in cert.p12 -out aps.pem

  1. Install the curl command line tool. Note: HTTP/2.0 support is needed.

brew install curl --with-nghttp2

  1. Input the path of curl and other information into the input-box.

  2. Click the send button.