{"action":"created","issue":{"url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/768","repository_url":"https://api.github.com/repos/ParsePlatform/parse-server","labels_url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/768/labels{/name}","comments_url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/768/comments","events_url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/768/events","html_url":"https://github.com/ParsePlatform/parse-server/issues/768","id":137908600,"number":768,"title":"How to send push notifications from Swift ?","user":{"login":"fraxool","id":16626139,"avatar_url":"https://avatars.githubusercontent.com/u/16626139?v=3","gravatar_id":"","url":"https://api.github.com/users/fraxool","html_url":"https://github.com/fraxool","followers_url":"https://api.github.com/users/fraxool/followers","following_url":"https://api.github.com/users/fraxool/following{/other_user}","gists_url":"https://api.github.com/users/fraxool/gists{/gist_id}","starred_url":"https://api.github.com/users/fraxool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fraxool/subscriptions","organizations_url":"https://api.github.com/users/fraxool/orgs","repos_url":"https://api.github.com/users/fraxool/repos","events_url":"https://api.github.com/users/fraxool/events{/privacy}","received_events_url":"https://api.github.com/users/fraxool/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":15,"created_at":"2016-03-02T15:41:17Z","updated_at":"2016-09-24T16:04:27Z","closed_at":"2016-03-03T07:43:05Z","body":"Since the PFPush class is not working anymore, how can I send a push notification from Swift or how can I call some cloud code to send a push notification to my users ?\r\n\r\nExample : User_1 sends a friend request to User_2. I want User_2 to receive a notification on his device. I know I can do this with Javascript / PHP, but is it possible to do it from Swift directly without having some files hosted on a web server ? \r\n\r\nI am actually using Heroku.\r\n\r\nThanks,\r\nAxel"},"comment":{"url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/comments/249372402","html_url":"https://github.com/ParsePlatform/parse-server/issues/768#issuecomment-249372402","issue_url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/768","id":249372402,"user":{"login":"fvimagination","id":14360232,"avatar_url":"https://avatars.githubusercontent.com/u/14360232?v=3","gravatar_id":"","url":"https://api.github.com/users/fvimagination","html_url":"https://github.com/fvimagination","followers_url":"https://api.github.com/users/fvimagination/followers","following_url":"https://api.github.com/users/fvimagination/following{/other_user}","gists_url":"https://api.github.com/users/fvimagination/gists{/gist_id}","starred_url":"https://api.github.com/users/fvimagination/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fvimagination/subscriptions","organizations_url":"https://api.github.com/users/fvimagination/orgs","repos_url":"https://api.github.com/users/fvimagination/repos","events_url":"https://api.github.com/users/fvimagination/events{/privacy}","received_events_url":"https://api.github.com/users/fvimagination/received_events","type":"User","site_admin":false},"created_at":"2016-09-24T16:04:27Z","updated_at":"2016-09-24T16:04:27Z","body":"hi,\r\ni've tried your code too and it prints results: success, but my ios 10 device doesn't receive any push notification. if i use the Parse Push system from back4app.com, for example, i get the push notif., so that means that my .p12 certificates for APS are correct.\r\nAny suggestion about this will be greatly appreciated "}}
{"actor":{"display_login":"fvimagination"}}