{ "id": "117174", "key": "TIMOB-14551", "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": "2016-08-27T12:46:24.000+0000", "created": "2013-07-15T10:05:59.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "facebook", "ios", "logout", "supportTeam" ], "versions": [ { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" }, { "id": "15478", "description": "Release 3.1.1", "name": "Release 3.1.1", "archived": true, "released": true, "releaseDate": "2013-06-17" }, { "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": "2017-03-23T21:32:10.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": "Steps to reproduce : \r\n\r\n1. Import the attached project.launch it in iOS device.\r\n\r\n2. Click on 'login' button. After that click on 'logout' and see its not \r\n working.\r\n\r\n3. If we clear cookies on `logout` event like :\r\n \r\n{code}\r\n var client = Titanium.Network.createHTTPClient();\r\n client.clearCookies('https://login.facebook.com');\r\n{code}\r\n\r\nNow its working fine as expected.\r\n\r\nSo, It should be documented that in iOS platform, We need to do clear the cookies for logging out from the application.\r\n\r\nNote : This particular behavior can be noticed only on iOS.", "attachment": [ { "id": "40749", "filename": "test_facebook.zip", "author": { "name": "mpathak", "key": "mpathak", "displayName": "Meenakshi Pathak", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-07-15T10:05:59.000+0000", "size": 8975666, "mimeType": "application/zip" } ], "flagged": false, "summary": "iOS : facebook 'logout' event doesn't work without clearing cookies", "creator": { "name": "mpathak", "key": "mpathak", "displayName": "Meenakshi Pathak", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "mpathak", "key": "mpathak", "displayName": "Meenakshi Pathak", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "iOS 6.1, 7.0 , TiSDk 3.1.0, 3.2.0.GA", "comment": { "comments": [ { "id": "394559", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "As stated in numerous other tickets and native discussions as well, the Facebook SDK does not allow to clear the cookies of the browser as well, so if people want to do it, the above mentioned usage is the recommended way to do it.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-08-27T12:46:24.000+0000", "updated": "2016-08-27T12:46:24.000+0000" }, { "id": "415396", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as invalid with reference to the previous comments.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-23T21:32:10.000+0000", "updated": "2017-03-23T21:32:10.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }