Enable APNs push provider configuration and registration #156
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
The APNs (Apple Push Notification service) provider is documented but not enabled on this instance. iOS apps that try to register for push notifications cannot do so. The API contract already exists per the Web Push docs, but provider configuration is missing.
Steps to Reproduce
GET /push.json— response lists only the webpush provider:POST /push.jsonwith a valid APNs body:400with{ "error": "Unknown provider" }.Expected Behaviour
GET /push.jsonshould listapnsunderproviders, andPOST /push.jsonwith{ "provider": "apns", "token": "<hex device token>" }should register the device and send the welcome notification.Actual Behaviour
400and{ "error": "Unknown provider" }.GET /push.jsonlists only thewebpushprovider.Environment
Not provided.
Reported by Lensflare via DevPlace.
You`re sad. https://devplace.net/admin/services/push#config