{ "id": "150932", "key": "TIMOB-19460", "fields": { "issuetype": { "id": "7", "description": "gh.issue.story.desc", "name": "Story", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2016-09-28T16:31:38.000+0000", "created": "2015-09-02T22:19:54.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [ { "id": "16723", "description": "Windows Platform Support, ListView updates, Vector overlays in maps", "name": "Release 4.1.0", "archived": false, "released": true, "releaseDate": "2015-07-08" } ], "issuelinks": [], "assignee": { "name": "plv", "key": "plv", "displayName": "Paul Lv", "active": false, "timeZone": "Asia/Shanghai" }, "updated": "2017-03-20T22:26:19.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "The documentation states that the following payload will trigger the silent push notificaiton:\r\n\r\n{\"alert\":\"\",\"content-available\":1}\r\n\r\nhow ever I have positively verified that this string does NOT trigger the notification, the string below does however trigger the silent notification according to the rest of the docs here. \r\n\r\n{\"aps\":{\"content-available\":1}}\r\n\r\nPlease change, lots of people might be confused...\r\n\r\ndid not do any deep analyses, just concluded by testing on device iOS 8.4 with SDK 4.1.0\r\n\r\nLet me know if you need help (possibly the string might work in Arrow but then again this is not always the case...", "attachment": [], "flagged": false, "summary": "Silent Push notification payload may be wrong..", "creator": { "name": "buder", "key": "buder", "displayName": "Jörgen Buder", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "buder", "key": "buder", "displayName": "Jörgen Buder", "active": true, "timeZone": "Europe/Berlin" }, "environment": null, "comment": { "comments": [ { "id": "362103", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "[~buder]: Can you provide a link to the docs where it is stated wrong?", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2015-09-02T22:27:32.000+0000", "updated": "2015-09-02T22:27:32.000+0000" }, { "id": "362104", "author": { "name": "buder", "key": "buder", "displayName": "Jörgen Buder", "active": true, "timeZone": "Europe/Berlin" }, "body": "Oh thought I did, sorry:\r\n\r\nhttp://docs.appcelerator.com/platform/latest/#!/guide/iOS_Background_Services-section-37539664_iOSBackgroundServices-SilentPush", "updateAuthor": { "name": "buder", "key": "buder", "displayName": "Jörgen Buder", "active": true, "timeZone": "Europe/Berlin" }, "created": "2015-09-02T22:30:16.000+0000", "updated": "2015-09-02T22:30:16.000+0000" }, { "id": "362181", "author": { "name": "apetkov", "key": "apetkov", "displayName": "Angel Petkov", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hello thank you for providing the example! The documentation just covers the json structor part, which is needed for the silent push notification. As you said, it might be confusing at first, but our hope was, that it is clear because the json structure always needs to contain the root node which in this case is {\"aps\": {} } If that is still unclear, we would update the docs, although we hope it is clear.", "updateAuthor": { "name": "apetkov", "key": "apetkov", "displayName": "Angel Petkov", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-09-03T17:24:10.000+0000", "updated": "2015-09-03T19:23:51.000+0000" }, { "id": "362266", "author": { "name": "buder", "key": "buder", "displayName": "Jörgen Buder", "active": true, "timeZone": "Europe/Berlin" }, "body": "Hi\r\n\r\nAs a certified trainer of Titanium for years I know that people that start using titanium either comes from one or the other side of app dev, for instance a Android dev knows little of iOS and do not know about root node, sure he can rad about it but what your documentation does not is that he will try item use the part of the string you have (as I did) and end up hating Titanium because \"nothing works\" or \"All the docs are wrong\", letas try to avoid this by improving the docs so that new people get the best experience starting with Appcelerator. If possible do include something like:\r\n\r\nFor iOS the root node needs to be included in the payload and so the resulting payload will be: and then the full JSON object.\r\n\r\nJust a suggestion but really helpful for most people starting with Appcelerator\r\n\r\nthanks", "updateAuthor": { "name": "buder", "key": "buder", "displayName": "Jörgen Buder", "active": true, "timeZone": "Europe/Berlin" }, "created": "2015-09-04T06:08:19.000+0000", "updated": "2015-09-04T06:09:42.000+0000" }, { "id": "362343", "author": { "name": "wkong", "key": "wkong", "displayName": "Wei Kong", "active": false, "timeZone": "America/Los_Angeles" }, "body": "[~plv] can you please confirm? \r\n", "updateAuthor": { "name": "wkong", "key": "wkong", "displayName": "Wei Kong", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-09-04T20:59:16.000+0000", "updated": "2015-09-04T20:59:16.000+0000" }, { "id": "362369", "author": { "name": "plv", "key": "plv", "displayName": "Paul Lv", "active": false, "timeZone": "Asia/Shanghai" }, "body": "There is a bug on Arrow DB side, and we will fix it via Arrow DB JIRA ticket CLOUDSRV-4740.", "updateAuthor": { "name": "plv", "key": "plv", "displayName": "Paul Lv", "active": false, "timeZone": "Asia/Shanghai" }, "created": "2015-09-06T02:04:38.000+0000", "updated": "2015-09-06T02:04:38.000+0000" }, { "id": "397530", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "[~buder] I'm resolving this ticket as a duplicate of the (fixed) CLOUDSRV-4740, I hope it's working fine again! Let us know if you still experience problems in this direction.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-09-28T16:31:38.000+0000", "updated": "2016-09-28T16:31:38.000+0000" }, { "id": "414112", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as duplicate.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-20T22:26:19.000+0000", "updated": "2017-03-20T22:26:19.000+0000" } ], "maxResults": 9, "total": 9, "startAt": 0 } } }