I've created a simple push notification demo: https://github.com/coolaj86/fxos-push-notification-demo http://ffpush.dev.coolaj86.com/
When I click "Register for Push Notifications" a registration request is created. I log the successful endpoint (or error) and then store it in indexeddb (through pouch). When use the site to which the push has been registered, or when I click "Push Now" it retrieves the endpoint url and creates a PUT request with urlencoded version=`Date.now()`. I receive a successful empty response. I am listening on 'push' and 'push-register'. The 'push' event never fires. When I log the request to the endpoint (even in curl), I see that it is successful, but the notification never comes. There's very little documentation on the push server - what it is, how to know if it's currently operational, after how long does the push become stale, what is the expected delay between creating a push and receiving the notification, etc, etc. Anyone know where I can find those answers? _______________________________________________ dev-b2g mailing list [email protected] https://lists.mozilla.org/listinfo/dev-b2g
