{ "id": "136125", "key": "TIMOB-17624", "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": [ { "id": "15972", "description": "Release 3.4.0", "name": "Release 3.4.0", "archived": false, "released": true, "releaseDate": "2014-09-28" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-09-15T16:59:46.000+0000", "created": "2014-09-04T21:36:39.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "ios8", "qe-3.4.0", "regression" ], "versions": [], "issuelinks": [], "assignee": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-09-15T17:07:39.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": "h5.Description\r\n\r\nIn KitchenSink->Phone->App Badge when trying to set the App Badge the console prints out the statement below. The App Badge property can't be set by using either the set method or changing the property because of this. The attached app.js is a test case which can be used to reproduce.\r\n\r\n*Notes*\r\n\r\nThis is a regression as the test case can be used to set the App Badge on both an iOS7 and iOS6 device.\r\n\r\n{code}\r\n[INFO] : Attempting to badge the application icon but haven't received permission from the user to badge the application\r\n{code}\r\n\r\nh5.Steps To Reproduce\r\n\r\n1. Add the attached app.js to a project and build to and iOS8 Device/Simulator.\r\n2. Tap the either of the Set App Badge labels\r\n\r\nh5.Actual Result\r\n\r\nThe App Badge is not set and the console prints out the above statement.\r\n\r\nh5.Expected Result\r\n\r\nThe App Badge should be set to 20.\r\n", "attachment": [ { "id": "50990", "filename": "app.js", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2014-09-04T21:38:52.000+0000", "size": 1131, "mimeType": "text/javascript" } ], "flagged": false, "summary": "iOS8: Unable to badge an application icon", "creator": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "subtasks": [], "reporter": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "environment": "Mac OSX 10.9.4\r\nAppcelerator Studio, build: 3.4.0.201409021758\r\nTitanium SDK build: 3.4.0.v20140903121714\r\nTitanium CLI, build: 3.4.0-beta\r\nAlloy: 1.5.0-beta\r\niOS Device 5(8.0b5), iOS Device 5(7.0.6), iOS Device 4S (6.0.1)", "closedSprints": [ { "id": 199, "state": "closed", "name": "2014 Sprint 18 SDK", "startDate": "2014-09-02T22:56:57.421Z", "endDate": "2014-09-13T00:00:00.000Z", "completeDate": "2014-09-15T20:08:19.146Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "322125", "author": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "body": "As of iOS8 permission is required to set the appBadge. The ability to request permission was added by TIMOB-17510 .\r\nKitchenSink needs to be updated to request permission to set the appBadge. PR: https://github.com/appcelerator/KitchenSink/pull/29", "updateAuthor": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-09-05T20:31:59.000+0000", "updated": "2014-09-05T20:31:59.000+0000" }, { "id": "322152", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "KS PR merged", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-09-05T22:03:12.000+0000", "updated": "2014-09-05T22:03:12.000+0000" }, { "id": "322877", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested and verified an ability to badge an application icon, using\r\nMac osx 10.9.4 Maverics\r\nAppcelerator Studio, build: 3.4.0.201409081810\r\nTitanium SDK, build: 3.4.0.v20140909222515\r\nacs@1.0.16\r\nalloy 1.5.0-rc\r\ninstall@0.1.7\r\nnpm@1.4.23\r\nsudo@1.0.3\r\ntitanium 3.4.0-rc\r\ntitanium-code-processor@1.1.1\r\nXcode6-Beta7\r\nDevice: iPhone 5S iOS 8.0GM\r\n\r\nks 28a706e9-4130-4acb-bc76-9494255a9279\r\nversion 3.1.1", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-09-10T18:30:14.000+0000", "updated": "2014-09-10T18:30:14.000+0000" }, { "id": "323450", "author": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Reopening because method name and param type changed", "updateAuthor": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-09-12T22:27:05.000+0000", "updated": "2014-09-12T22:27:05.000+0000" }, { "id": "323552", "author": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR: https://github.com/appcelerator/KitchenSink/pull/31", "updateAuthor": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-09-15T01:53:59.000+0000", "updated": "2014-09-15T01:53:59.000+0000" }, { "id": "323688", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Verified fix on:\r\n\r\nMac OSX 10.9.4\r\nAppcelerator Studio, build: 3.4.0.201409131030\r\nTitanium SDK build: 3.4.0.v20140915084914\r\nTitanium CLI, build: 3.4.0-rc3\r\nAlloy: 1.5.0-beta2\r\nXcode6 GM Seed\r\niPhone Device 5 (8.0 GM Seed)\r\nKitchenSink 3.1.1\r\n\r\nRan KitchenSink and badged the app using Phone->App Badge, the app asked for the permissions and then I was able to badge the app. \r\n\r\nClosing ticket.", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2014-09-15T17:07:25.000+0000", "updated": "2014-09-15T17:07:25.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }