{ "id": "105845", "key": "TIMOB-11936", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "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": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2013-01-23T22:02:43.000+0000", "created": "2012-12-03T14:12:22.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [], "versions": [ { "id": "14137", "description": "Release 2.1.3", "name": "Release 2.1.3", "archived": true, "released": true, "releaseDate": "2012-10-03" }, { "id": "14613", "description": "Release 2.1.4", "name": "Release 2.1.4", "archived": true, "released": true, "releaseDate": "2012-11-12" } ], "issuelinks": [], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-22T21:17:27.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": "When receiving a push notification from ACS and the app is running in the foreground, the following warning is displayed in the console: \r\n\r\n{code}\r\n[326] : [WARN] Accessing APS keys from toplevel of notification is deprecated\r\n{code}\r\n\r\nThe push notification is still received.\r\n\r\nAttached is a sample app.js that reproduces the warning. To test it:\r\n\r\n1. Open the app\r\n2. Click register local push\r\n3. Click register user\r\n4. Click login\r\n5. Click register server push\r\n6. Send a push notification via ACS\r\n\r\n", "attachment": [ { "id": "33878", "filename": "app.js", "author": { "name": "btran", "key": "btran", "displayName": "Betty Tran", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-12-03T14:12:23.000+0000", "size": 3322, "mimeType": "text/javascript" } ], "flagged": false, "summary": "iOS: Warning Accessing APS keys from toplevel of notification is deprecated when receiving push notification", "creator": { "name": "btran", "key": "btran", "displayName": "Betty Tran", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "btran", "key": "btran", "displayName": "Betty Tran", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "iOS 5, 6\r\nTi SDK 2.1.4GA", "comment": { "comments": [ { "id": "235585", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This is intentional. We used to flatten the contents of the aps object inside the push notification, e.g., notification.badge as well as notification.aps.badge. Since we don't intercept which properties are used by the app after sending the notification, we have to warn on all notifications, regardless of if notification.badge or its siblings are used or not.", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-01-23T22:02:09.000+0000", "updated": "2013-01-23T22:02:09.000+0000" }, { "id": "414979", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as invalid with reference to the above comments.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-22T21:17:27.000+0000", "updated": "2017-03-22T21:17:27.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }