{ "id": "123395", "key": "TIMOB-15904", "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": "11", "description": "Is not a bug in our product", "name": "Not Our Bug" }, "resolutiondate": "2013-12-05T22:34:07.000+0000", "created": "2013-12-05T20:36:45.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "qe-3.2.0" ], "versions": [ { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "issuelinks": [], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-13T21:31:36.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": "*Details:* If you build an app with *new* iOS push certs, you will not receive a background push on 6.X iOS devices on first install. However, if you reinstall the app on the same 6.X device, then you will be able to receive a background push notification.\r\n\r\n*Note:*\r\n1. This is *not* a regression. Still occurs with GA stack.\r\n2. This is not reproducible on a 7.X iOS device.\r\n3. On a 6.X iOS device, push notification can still be sent if the app is in the *foreground.*\r\n\r\n*Steps to reproduce:*\r\n1. Create new iOS push certs with a different app id: https://wiki.appcelerator.org/display/qe/How+to+generate+a+iOS+push+cert\r\n2. Next, create a Titanium classic app with ACS enabled\r\n3. Copy the ti.cloud sample app (~/Library/Application Support/Titanium/modules/commonjs/ti.cloud/3.2.0/example/*) into the Titanium app Resources directory\r\n4. Install app to a 6.X device\r\n5. Next, go to the ACS dashboard: cloud.appcelerator.com/apps/\r\n6. Create an ACS user and upload your iOS push .p12 file\r\n7. Next, launch the ACS app and login using the newly created ACS user\r\n8. Go to Push Notifications > Settings for This Device and press Disabled to Enable push\r\n9. Go to Push Notifications > Subscribe and subscribe to a channel\r\n10. Background the app\r\n11. On the ACS dashboard, send a push notification with an Alert, Badge, and Sound (default)\r\n\r\n*Actual:* A push notification is not received when the app is in the background. \r\n\r\nAnd, app does not appear in the notification setting (see no_app.png)\r\n\r\n*Expected:* A push notification should be received when the app is in the background for a 6.X iOS device.\r\n\r\n*Workaround:* Uninstall the app and install the same app back onto device. App will appear in the notification setting (see there_is_app.png) and you will be able to send a push notification while the app is in the background.", "attachment": [ { "id": "44416", "filename": "no_app.png", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-12-05T20:36:45.000+0000", "size": 585342, "mimeType": "image/png" }, { "id": "44417", "filename": "there_is_app.png", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-12-05T20:36:45.000+0000", "size": 598565, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: Push Notification - On 6.X devices, you will not receive a background push notification with NEW iOS push certs on first install", "creator": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "Titanium Studio, build: 3.1.3.201309132423, 3.2.0.201312042201\r\nSDK build: 3.1.3.GA, 3.2.0.v20131204220843 \r\nCLI: 3.1.2, 3.2.0-beta\r\nti.cloud: 2.3.7, 3.2.0\r\nXcode: 5.0, 5.0.2\r\nDevices: Any 6.X iOS device", "comment": { "comments": [ { "id": "282698", "author": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Looks like a apple bug to me. As push notifications starts working without altering anything with the app or rebuilding it.", "updateAuthor": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-05T21:13:36.000+0000", "updated": "2013-12-05T21:13:36.000+0000" }, { "id": "411584", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as this is not our bug.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-13T21:31:36.000+0000", "updated": "2017-03-13T21:31:36.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }