{"action":"opened","issue":{"url":"https://api.github.com/repos/immobiliare/ApnsPHP/issues/111","labels_url":"https://api.github.com/repos/immobiliare/ApnsPHP/issues/111/labels{/name}","comments_url":"https://api.github.com/repos/immobiliare/ApnsPHP/issues/111/comments","events_url":"https://api.github.com/repos/immobiliare/ApnsPHP/issues/111/events","html_url":"https://github.com/immobiliare/ApnsPHP/issues/111","id":120133513,"number":111,"title":"Support Safari push notification","user":{"login":"jonas0616","id":13996700,"avatar_url":"https://avatars.githubusercontent.com/u/13996700?v=3","gravatar_id":"","url":"https://api.github.com/users/jonas0616","html_url":"https://github.com/jonas0616","followers_url":"https://api.github.com/users/jonas0616/followers","following_url":"https://api.github.com/users/jonas0616/following{/other_user}","gists_url":"https://api.github.com/users/jonas0616/gists{/gist_id}","starred_url":"https://api.github.com/users/jonas0616/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonas0616/subscriptions","organizations_url":"https://api.github.com/users/jonas0616/orgs","repos_url":"https://api.github.com/users/jonas0616/repos","events_url":"https://api.github.com/users/jonas0616/events{/privacy}","received_events_url":"https://api.github.com/users/jonas0616/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-03T10:04:24Z","updated_at":"2015-12-03T10:04:24Z","closed_at":null,"body":"Safari push notification is basically based on APNS. The only difference is the format of JSON dictionary of notification body:\r\n```json\r\n{\r\n    \"aps\": {\r\n        \"alert\": {\r\n            \"title\": \"Flight A998 Now Boarding\",\r\n            \"body\": \"Boarding has begun for Flight A998.\",\r\n            \"action\": \"View\"\r\n        },\r\n        \"url-args\": [\"boarding\", \"A998\"]\r\n    }\r\n}\r\n```\r\nHowever, the existing ApnsPHP does not allow non-string alert content. And it needs a method to add url-args."}}