Empty log for Safari Push Notifications webservice

395 views Asked by At

I've implemented Safari Push Notifications both server-side and client-side. On the client, after asking for permissions, the callback function is called with permission "denied".

On the server-side, the logs show that a request for the push package has been made and returns a 200, but a few seconds later the /v1/log endpoint is called with no payload.

Does anyone have an idea how to debug this?

2

There are 2 answers

0
Tudor On BEST ANSWER

A helpful tip is to look in the System Log, from the Console app. Safari shows messages in there.

Another reason for my issue is realted to Django, which as 1.5 doesn't show non-form data in request.POST, but in request.body.

1
Lahiru Jayakody On

May help following guide and push package creator.

browser-push