{"action":"created","issue":{"url":"https://api.github.com/repos/driftyco/ionic-platform-web-client/issues/141","repository_url":"https://api.github.com/repos/driftyco/ionic-platform-web-client","labels_url":"https://api.github.com/repos/driftyco/ionic-platform-web-client/issues/141/labels{/name}","comments_url":"https://api.github.com/repos/driftyco/ionic-platform-web-client/issues/141/comments","events_url":"https://api.github.com/repos/driftyco/ionic-platform-web-client/issues/141/events","html_url":"https://github.com/driftyco/ionic-platform-web-client/issues/141","id":173456832,"number":141,"title":"field [date] null in push notifications","user":{"login":"clistenes","id":2745957,"avatar_url":"https://avatars.githubusercontent.com/u/2745957?v=3","gravatar_id":"","url":"https://api.github.com/users/clistenes","html_url":"https://github.com/clistenes","followers_url":"https://api.github.com/users/clistenes/followers","following_url":"https://api.github.com/users/clistenes/following{/other_user}","gists_url":"https://api.github.com/users/clistenes/gists{/gist_id}","starred_url":"https://api.github.com/users/clistenes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clistenes/subscriptions","organizations_url":"https://api.github.com/users/clistenes/orgs","repos_url":"https://api.github.com/users/clistenes/repos","events_url":"https://api.github.com/users/clistenes/events{/privacy}","received_events_url":"https://api.github.com/users/clistenes/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"Fuiste","id":1584992,"avatar_url":"https://avatars.githubusercontent.com/u/1584992?v=3","gravatar_id":"","url":"https://api.github.com/users/Fuiste","html_url":"https://github.com/Fuiste","followers_url":"https://api.github.com/users/Fuiste/followers","following_url":"https://api.github.com/users/Fuiste/following{/other_user}","gists_url":"https://api.github.com/users/Fuiste/gists{/gist_id}","starred_url":"https://api.github.com/users/Fuiste/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fuiste/subscriptions","organizations_url":"https://api.github.com/users/Fuiste/orgs","repos_url":"https://api.github.com/users/Fuiste/repos","events_url":"https://api.github.com/users/Fuiste/events{/privacy}","received_events_url":"https://api.github.com/users/Fuiste/received_events","type":"User","site_admin":false},"assignees":[{"login":"Fuiste","id":1584992,"avatar_url":"https://avatars.githubusercontent.com/u/1584992?v=3","gravatar_id":"","url":"https://api.github.com/users/Fuiste","html_url":"https://github.com/Fuiste","followers_url":"https://api.github.com/users/Fuiste/followers","following_url":"https://api.github.com/users/Fuiste/following{/other_user}","gists_url":"https://api.github.com/users/Fuiste/gists{/gist_id}","starred_url":"https://api.github.com/users/Fuiste/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fuiste/subscriptions","organizations_url":"https://api.github.com/users/Fuiste/orgs","repos_url":"https://api.github.com/users/Fuiste/repos","events_url":"https://api.github.com/users/Fuiste/events{/privacy}","received_events_url":"https://api.github.com/users/Fuiste/received_events","type":"User","site_admin":false}],"milestone":null,"comments":38,"created_at":"2016-08-26T13:46:34Z","updated_at":"2016-08-30T12:48:42Z","closed_at":null,"body":"Hello, I do not know if this is the right place to post this problem and if not, please guide me to post in place. I have problem in sending push notifications for some users registered in ionic.io. Returns code 200, but the [data] field has no value. This only occurs for some users (android and ios). The biggest problem is when sending to multiple push tokens in the same request, and just be one with this problem, the shipment is blocked for all involved and no tokens receives the notification. Below are two examples reported in the case of Android platform above and then one ionic forum link where another user has the same problem with iOS platform.\r\n\r\n**User OK:**\r\n\r\n```\r\n[data] => Array\r\n        (\r\n            [0] => stdClass Object\r\n                (\r\n                    [notification] => 1d32bd0a-a6c7-4fec-8bf8-21e46c12e2f8\r\n                    [token] => stdClass Object\r\n                        (\r\n                            [token] => eX-Ssn3W_as:APA91bH98DzzhgkETX2n9Xy9UD6xmHtEdW6baqUaJhuxyvVcfIJv94Q7JPx3v37kJYKAN5IhvT3XcLBtZwacAaz5VnK5F1tmDGkmSqRVdUifMwLBdzEFZAZuhH-LvwlDuWVL5iDzqnUD\r\n                            [app_id] => 1a34463d\r\n                            [valid] => 1\r\n                            [created] => 2016-08-18T14:44:33.957271+00:00\r\n                            [type] => android\r\n                            [id] => 676efd6bb4fe52ebd799976182a7c09f\r\n                            [invalidated] => \r\n                        )\r\n\r\n                    [status] => sent\r\n                    [uuid] => d426a6c5-5166-4541-b168-a7e24689872a\r\n                    [created] => 2016-08-26T13:27:13.574735+00:00\r\n                    [error] => \r\n                    [user_id] => \r\n                )\r\n\r\n        )\r\n\r\n    [meta] => stdClass Object\r\n        (\r\n            [status] => 200\r\n            [version] => 2.0.0-beta.0\r\n            [request_id] => d463a05a-b69d-46fd-9221-8f55c3873378\r\n        )\r\n```\r\n\r\n\r\n**User with the problem:**\r\n\r\n```\r\n[data] => Array\r\n        (\r\n        )\r\n\r\n    [meta] => stdClass Object\r\n        (\r\n            [status] => 200\r\n            [request_id] => 79aa512d-550a-41c7-9f54-32a1527b61b4\r\n            [version] => 2.0.0-beta.0\r\n        )\r\n```\r\n\r\nLink: [https://forum.ionicframework.com/t/ionic-1-push-notification/61679](https://forum.ionicframework.com/t/ionic-1-push-notification/61679)"},"comment":{"url":"https://api.github.com/repos/driftyco/ionic-platform-web-client/issues/comments/243427315","html_url":"https://github.com/driftyco/ionic-platform-web-client/issues/141#issuecomment-243427315","issue_url":"https://api.github.com/repos/driftyco/ionic-platform-web-client/issues/141","id":243427315,"user":{"login":"furqan-dev","id":8478793,"avatar_url":"https://avatars.githubusercontent.com/u/8478793?v=3","gravatar_id":"","url":"https://api.github.com/users/furqan-dev","html_url":"https://github.com/furqan-dev","followers_url":"https://api.github.com/users/furqan-dev/followers","following_url":"https://api.github.com/users/furqan-dev/following{/other_user}","gists_url":"https://api.github.com/users/furqan-dev/gists{/gist_id}","starred_url":"https://api.github.com/users/furqan-dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/furqan-dev/subscriptions","organizations_url":"https://api.github.com/users/furqan-dev/orgs","repos_url":"https://api.github.com/users/furqan-dev/repos","events_url":"https://api.github.com/users/furqan-dev/events{/privacy}","received_events_url":"https://api.github.com/users/furqan-dev/received_events","type":"User","site_admin":false},"created_at":"2016-08-30T12:48:42Z","updated_at":"2016-08-30T12:48:42Z","body":"@ericb Thanks for hearing me out. \r\n\r\nNotification id: c54e3729-94aa-4997-bcff-a7066ce96dc4\r\n\r\nFollowing was the response i got when i sent the request..\r\n\r\n`[data] => stdClass Object\r\n        (\r\n            [status] => open\r\n            [uuid] => c54e3729-94aa-4997-bcff-a7066ce96dc4\r\n            [created] => 2016-08-30T09:27:44.448746+00:00\r\n            [config] => stdClass Object\r\n                (\r\n                    [tokens] => Array\r\n                        (\r\n                            [0] => 3cc352ee1829a30bd4a9f56d2f6d2d9a1b8cb388052c61a5b3ba9dc8905995e5\r\n                        )\r\n\r\n                    [profile] => production\r\n                    [notification] => stdClass Object\r\n                        (\r\n                            [ios] => stdClass Object\r\n                                (\r\n                                    [badge] => 1\r\n                                    [content_available] => 1\r\n                                    [payload] => stdClass Object\r\n                                        (\r\n                                            [id] => 1472549262\r\n                                            [addr] => 0\r\n                                            [type] => 0\r\n                                            [mls] => 0\r\n                                        )\r\n\r\n                                )\r\n\r\n                            [android] => stdClass Object\r\n                                (\r\n                                    [payload] => stdClass Object\r\n                                        (\r\n                                            [id] => 1472549262\r\n                                            [addr] => 0\r\n                                            [type] => 0\r\n                                            [mls] => 0\r\n                                        )\r\n\r\n                                    [message] => Hello ios\r\n                                )\r\n\r\n                            [message] => Hello ios\r\n                        )\r\n\r\n                )\r\n\r\n            [state] => enqueued\r\n            [app_id] => f4492352\r\n        )\r\n\r\n    [meta] => stdClass Object\r\n        (\r\n            [status] => 201\r\n            [version] => 2.0.0-beta.0\r\n            [request_id] => cffe1261-041d-49b6-b5d9-ef19fafbff36\r\n        )\r\n`\r\n\r\nThis is the response when i checked the status of the notification\r\n\r\n`{\r\n  \"meta\": {\r\n    \"request_id\": \"180325ff-12be-4d53-a3b8-afc18a0a17b7\",\r\n    \"version\": \"2.0.0-beta.0\",\r\n    \"status\": 200\r\n  },\r\n  \"data\": []\r\n}`"}}
{"actor":{"display_login":"furqan-dev"}}