mirror of
https://github.com/home-assistant/iOS.git
synced 2026-06-16 23:33:36 -05:00
## 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.
23 lines
450 B
JSON
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"
|
|
}
|
|
}
|
|
}
|