{ "id": "63872", "key": "TIMOB-3240", "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": "11244", "name": "Release 1.7.0", "archived": true, "released": true, "releaseDate": "2011-06-13" }, { "id": "11245", "name": "Sprint 2011-10", "archived": true, "released": true, "releaseDate": "2011-03-14" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T02:01:16.000+0000", "created": "2011-04-15T03:40:11.000+0000", "priority": { "name": "Trivial", "id": "5" }, "labels": [ "facebook", "ios", "release-1.7.0" ], "versions": [], "issuelinks": [ { "id": "17405", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "63767", "key": "TIMOB-3135", "fields": { "summary": "iOS: Facebook doesn't check individual app support for BG modes", "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" } }, "priority": { "name": "Trivial", "id": "5" }, "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } } ], "assignee": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-05-23T15:33:02.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": "{html}

Under iOS 4, the Facebook login auth process only checks to see\nif backgrounding is available, not if backgrounding is available\nfor the specific app running. If an app is unable to pause/resume\nfrom background (UIApplicationExitsOnSuspend is set 'true') then\nthe FB login process will fail and cause the app to shutdown/reboot\ninstead.

\n

Need to fix this so that dialog auth is forced in this\nsituation.

{html}", "attachment": [ { "id": "18287", "filename": "titanium.plist", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:40:12.000+0000", "size": 1721, "mimeType": "application/octet-stream" } ], "flagged": false, "summary": "Facebook does not detect when app cannot suspend/resume on iOS 4", "creator": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "130359", "author": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "body": "{html}

(from [95659f26a1d76bf1dc8df9dfe2dafd5bed8905da])\n[#3240 state:fixed-in-qa] Check for\nUIApplicationExitsOnSuspend key in FB authorization process.\n\nhttps://github.com/appcelerator/titanium_mobile/commit/95659f26a1d7...

{html}", "updateAuthor": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:40:12.000+0000", "updated": "2011-04-15T03:40:12.000+0000" }, { "id": "130360", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

TESTING

\n

Place the attached file in iphone/iphone, build and run KS from\nthe Titanium.xcodeproj project. This plist modifies the app so that\nit quits on suspend; there is currently no way to do this in a\nTitanium project.

{html}", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:40:12.000+0000", "updated": "2011-04-15T03:40:12.000+0000" }, { "id": "130361", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Tested with Titanium SDK version: 1.7.0 (03/17/11 10:02 630a276)\non
\niPhone4 4.3, used the above plist and verified\nUIApplicationExitsOnSuspend is set 'true', can log in without\nshutting down

{html}", "updateAuthor": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:40:12.000+0000", "updated": "2011-04-15T03:40:12.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }