{"action":"opened","issue":{"url":"https://api.github.com/repos/googlesamples/google-services/issues/71","labels_url":"https://api.github.com/repos/googlesamples/google-services/issues/71/labels{/name}","comments_url":"https://api.github.com/repos/googlesamples/google-services/issues/71/comments","events_url":"https://api.github.com/repos/googlesamples/google-services/issues/71/events","html_url":"https://github.com/googlesamples/google-services/issues/71","id":107926464,"number":71,"title":"I can't get APNs","user":{"login":"ivangodfather","id":1838117,"avatar_url":"https://avatars.githubusercontent.com/u/1838117?v=3","gravatar_id":"","url":"https://api.github.com/users/ivangodfather","html_url":"https://github.com/ivangodfather","followers_url":"https://api.github.com/users/ivangodfather/followers","following_url":"https://api.github.com/users/ivangodfather/following{/other_user}","gists_url":"https://api.github.com/users/ivangodfather/gists{/gist_id}","starred_url":"https://api.github.com/users/ivangodfather/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivangodfather/subscriptions","organizations_url":"https://api.github.com/users/ivangodfather/orgs","repos_url":"https://api.github.com/users/ivangodfather/repos","events_url":"https://api.github.com/users/ivangodfather/events{/privacy}","received_events_url":"https://api.github.com/users/ivangodfather/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-23T14:01:38Z","updated_at":"2015-09-23T14:01:38Z","closed_at":null,"body":"I'm trying to get push notifications, but its imposible to get one. If i send:\r\n  {\r\n    \"to\": \"_AFr8B9....nCBL\",\r\n    \"data\": {\r\n      \"message\": \"Message through GCM\",\r\n     }\r\n  }\r\nI can see it on the simulator, but if i try to send like this to get an APN:\r\n  {\r\n    \"to\": \"_AFr8B9....nCBL\",\r\n    \"notification\" : {\r\n      \"body\" : \"great match!\",\r\n      \"title\" : \"Portugal vs. Denmark\",\r\n      \"icon\" : \"myicon\"\r\n    }\r\n  }\r\nI dont receive anything. And plus when i add content_available:true i get unregistered from GCM like this guy. Any ideas? http://stackoverflow.com/questions/32134815/google-cloud-messaging-dont-receive-alerts-when-ios-app-is-in-background"}}