{ "id": "83014", "key": "TIMOB-6274", "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": "10100", "description": "This issue won't be actioned.", "name": "Won't Do" }, "resolutiondate": "2020-01-09T19:33:31.000+0000", "created": "2011-11-22T11:07:50.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "reprod", "supportTeam" ], "versions": [ { "id": "12570", "name": "Release 1.7.5", "archived": true, "released": true, "releaseDate": "2011-11-02" }, { "id": "12580", "description": "Dual Runtime 1.8.0", "name": "Release 1.8.0.1", "archived": true, "released": true, "releaseDate": "2011-12-22" }, { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "issuelinks": [], "assignee": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2020-01-09T19:33:31.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": "h3.Description\r\nForeground task still appearing inside the background mode.\r\n\r\nh3.Reproducible Steps\r\n1. Run the sample code\r\n2. Press the Home button (will switch the app to the background mode) - keep checking the logs\r\n\r\nh3.Sample Code\r\napp.js\r\n{code}\r\n// this sets the background color of the master UIView (when there are no windows/tab groups on it)\r\nTitanium.UI.setBackgroundColor('#000');\r\n\r\n\r\nvar win1 = Titanium.UI.createWindow({ \r\n title:'Tab 1',\r\n backgroundColor:'#fff'\r\n});\r\n\r\n\r\nwin1.open();\r\n\r\nTi.App.addEventListener(\"foreground\",function(e){\r\n\tTi.API.info(\"event received by foreground\");\r\n});\r\n\r\nTi.App.addEventListener('resumed',function(e){\r\n\t\tTi.API.info(\"app has resumed from the background\");\r\n\t});\r\n\t\r\n\t\tTi.App.addEventListener('resume',function(e){\r\n\t\tTi.API.info(\"app has resumeed from the background\");\r\n\t});\r\n\t\r\n\tTi.App.addEventListener('pause',function(e){\r\n\t\tTi.API.info(\"app was turned to background\");\r\n\t});\r\n\r\n\t\r\n\t\r\n\r\n\t\r\n\tfunction fgfunc() { \r\n \t\r\n\t Ti.API.info(\"Still working\");\r\n\t}\r\n\t\r\n\tvar timer = setInterval(function(){\r\n\t fgfunc();\r\n\t}, 1000);\r\n\t\r\nTi.App.service = Ti.App.iOS.registerBackgroundService({url:'bg.js'});\r\n\r\n\t\r\n\r\n\r\n\r\n\r\n{code}\r\n\r\nbg.js\r\n\r\n{code}\r\nTi.API.info(\"we are in the background%- $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$\");\r\n{code}\r\n\r\nh3.Associated HelpDesk Ticket\r\nhttp://appc.me/c/APP-232299", "attachment": [], "flagged": false, "summary": "iOS: Foreground task still appearing inside the background service", "creator": { "name": "kpomaski", "key": "kpomaski", "displayName": "Karol Pomaski", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "kpomaski", "key": "kpomaski", "displayName": "Karol Pomaski", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Simulator, iOS 5.0.1, \r\nmobile SDK 1.7.5, 1.8.0.1v20111112200657\r\nTested on Device - iPad 1st gen (iOS 5.0.1)", "comment": { "comments": [ { "id": "250746", "author": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "body": "issue reproduces\r\n\r\nTested with\r\nTitanium Studio, build: 3.0.1.201212181159\r\nTitanium SDK version: 3.1.0\r\niOS iPhone Simulator: iOS SDK version: 6.0", "updateAuthor": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-08T06:15:45.000+0000", "updated": "2013-05-08T06:16:15.000+0000" }, { "id": "426879", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "This is still occurring with the following environment;\r\niPhone 6 (10.2)\r\nStudio 4.9.1.201707200100\r\nTi SDK 6.1.2 GA\r\nAppc CLI 6.2.3\r\nTi CLI 5.0.14\r\nAlloy 1.9.13\r\nXcode 8.2 (8C38)\r\nNode v4.8.2\r\nJava 1.8.0_131", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-08-17T21:55:06.000+0000", "updated": "2017-08-17T21:55:06.000+0000" }, { "id": "453573", "author": { "name": "ahutton", "key": "ahutton", "displayName": "Alan Hutton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "It has been decided that this issue should be closed as “Won’t do.” This issue is out of date with our current supported SDK release (7.5.2.GA as of the date of closure), and out of date with mobile OS versions. \r\n\r\nIf community members feel that the issue is still valid, please create a new ticket. Please reference this closed ticket number, include SDK used, comments, and code that demonstrates/reproduces the issue.", "updateAuthor": { "name": "ahutton", "key": "ahutton", "displayName": "Alan Hutton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-01-09T19:33:31.000+0000", "updated": "2020-01-09T19:33:31.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }