Files
Zac West c0a73840d6 APNS server in Vapor (#2024)
## Summary
Implements the push send and rate limit information in Swift using Vapor.

## Any other notes
This will allow us to get off Firebase, which gives a few immediate benefits:
- We can send PushKit notifications for complications, widgets, and location updates.
- We remove the last SDK that uses network connectivity to third parties.
2021-12-26 00:23:33 -08:00

23 lines
450 B
JSON

{
"input": {
"message": "test",
"registration_info": {
"app_id": "io.robbie.HomeAssistant.dev",
"os_version": "10.15",
"app_version": "2021.5"
}
},
"rate_limit": true,
"headers": {
"apns-push-type": "alert"
},
"payload": {
"aps": {
"alert": {
"body": "test"
},
"sound": "default"
}
}
}