An APNs Provider Server which based on JWT auth for iOS. Build your own Apple Provider Server even you are not a developer.
go version go1.11 darwin/amd64
go build -o ownprovider
/where/your/provider/is/installed/ownprovider
curl -X POST "http://127.0.0.1:27953/api/notify" -d 'bundleid=YourBundleId&token=YourDeviceToken&payload=%7B%22aps%22:%7B%22alert%22:%22Hello%22%7D%7D'
env - Set this value to "sandbox" to use the development APNs server.
type - The type of message being sent. Can be one of "alert", "background", "voip", "complication", "fileprovider", "mdm".
token - The device token to send this message to.
payload - The APNs payload.
bundleid - The app's bundle identifier.
expiration - The number of seconds from the current time when this notification expires and should no longer be delivered. Zero (the default) indicates that APNs should only attempt to deliver once. This value cannot be greater than 15777000 (6 months in seconds).
priority - The delivery priority. Can be any value from 0 (No Priority) to 10 (Highest Priority, Default).
collapseid - An identifier for collapsing multiple push notifications in the notification center.
teamid - Your Apple Team Identifier.
keyid - Your APNs token key id.