{ "id": "104004", "key": "TIMOB-11587", "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": "14811", "description": "2013 Sprint 01 API", "name": "2013 Sprint 01 API", "archived": true, "released": true, "releaseDate": "2013-01-14" }, { "id": "14804", "description": "2013 Sprint 01", "name": "2013 Sprint 01", "archived": true, "released": true, "releaseDate": "2013-01-14" } ], "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2013-01-14T13:17:24.000+0000", "created": "2012-10-26T23:49:20.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [ { "id": "14137", "description": "Release 2.1.3", "name": "Release 2.1.3", "archived": true, "released": true, "releaseDate": "2012-10-03" } ], "issuelinks": [], "assignee": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-27T20:57:49.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": "Run the Kitchen Sink App.\r\nOn Mashups tab, run Login-Logout test.\r\nClick the login button. An authorization window is shown where credentials can be entered\r\nClick the logout button.\r\nClick the login button again. No authorization window is shown and user is logged in directly using the Ti.Facebook.UID.\r\n\r\nOn Android, upon logout, the authorization window is shown again and is the proper behavior. ( Cookies get deleted on logout ).\r\n\r\nWorkAround for iOS:\r\nIn Logout callback, include the below code snippet\r\n{code}\r\nvar client = Titanium.Network.createHTTPClient();\r\n client.clearCookies('https://login.facebook.com');\r\n{code}", "attachment": [], "flagged": false, "summary": "iOS: Facebook cookies are not deleted on logging out from facebook in iOS", "creator": { "name": "anagesh", "key": "anagesh", "displayName": "Anirudh Nagesh", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "anagesh", "key": "anagesh", "displayName": "Anirudh Nagesh", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "iOS 5.1 and Ti SDK 2.1.3", "comment": { "comments": [ { "id": "232912", "author": { "name": "ygbr", "key": "ygbr", "displayName": "Ygor Lemos", "active": true, "timeZone": "America/Sao_Paulo" }, "body": "Any news on this one????", "updateAuthor": { "name": "ygbr", "key": "ygbr", "displayName": "Ygor Lemos", "active": true, "timeZone": "America/Sao_Paulo" }, "created": "2013-01-02T21:53:35.000+0000", "updated": "2013-01-02T21:53:35.000+0000" }, { "id": "234198", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Cannot reproduce. An authorization window appears every time after the user logged out and wants to log back in again.\nTest environment \nKitchen Sink:\nd8593b9f7 from github\nMountain Lion 10.8.2\nTitanium Studio, build: 3.0.1.201212181159\nTitanium SDK, build: 3.0.0.GA\nTitanium SDK, build:3.0.1.v20130111165328\nTitanium SDK, build:3.1.0.v20130111163212\nTitanium SDK, build:2.1.3.GA\nTitanium SDK, build:2.1.4.GA\niPhone5 iOS 6.0\niPhone4S iOS 5.0.1\niPad2 iOS 5.1\niPad4 iOS 6.0.1", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-01-14T11:46:36.000+0000", "updated": "2013-01-14T11:46:36.000+0000" }, { "id": "234213", "author": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tried on the latest master branch .. Cannot reproduce this issue. It might have been solved as a part of Facebook API that we have done over the last 6 months\r\n", "updateAuthor": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-01-14T13:17:24.000+0000", "updated": "2013-01-14T13:17:24.000+0000" }, { "id": "234230", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "@Ygor or Anirudh, we are unable to repro this. Since both facebook and the KitchenSink test samples have changed since 2.1.3 and we also don't know the source of the KS used in this test, we need additional info. If anyone can provide additional data, we will try again.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-01-14T13:52:44.000+0000", "updated": "2013-01-14T13:52:44.000+0000" }, { "id": "235885", "author": { "name": "creativejunky", "key": "creativejunky", "displayName": "Daniel Mahon", "active": true, "timeZone": "America/New_York" }, "body": "I am having the same problem in the iOS Simulator. Very odd behavior, it only seems to happen when I login (via facebook) using another account than my personal one. If I use my personal account the login and logout works fine, I get the authDialog everytime. If I use another account (Ive only tested on these 2 accounts) login works fine but logout doesnt seem to clear the session properly as the next time I login the authDialog is skipped and I am unable to change the facebook credentials. Maybe this has something to do with unique facebook security settings? Anirudh's workaround seems to have solved the issue for now.\r\n\r\nYou should be able to reproduce testing with the CodeStrong Alloy app as I used this as the base for my app.\r\n\r\n--\r\n\r\nOSX 10.8.2\r\nTitanium SDK Version: 3.0.1\r\nTitanium CLI Version: 3.0.23\r\nAlloy Version: 0.3.6\r\niOS Simulator\r\niPhone5 iOS 6\r\n\r\n\r\n", "updateAuthor": { "name": "creativejunky", "key": "creativejunky", "displayName": "Daniel Mahon", "active": true, "timeZone": "America/New_York" }, "created": "2013-01-25T16:57:10.000+0000", "updated": "2013-01-25T16:57:10.000+0000" }, { "id": "235930", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "@Daniel: Just as a data point, have you tested with device? Sometimes the simulator gets wonky, and as useful as the simulator is, the real test for your users will be on device.", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-01-25T18:17:40.000+0000", "updated": "2013-01-25T18:17:40.000+0000" }, { "id": "235984", "author": { "name": "creativejunky", "key": "creativejunky", "displayName": "Daniel Mahon", "active": true, "timeZone": "America/New_York" }, "body": "@Blain Same results when running on iPhone, not sure if this is related but I have been also getting a \"Email is already taken\" error when trying to login with that account on phone and sim.", "updateAuthor": { "name": "creativejunky", "key": "creativejunky", "displayName": "Daniel Mahon", "active": true, "timeZone": "America/New_York" }, "created": "2013-01-25T20:26:04.000+0000", "updated": "2013-01-25T20:26:04.000+0000" }, { "id": "415936", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as I am unable to reproduce this issue with the following environment;\r\niPhone 7 (10.2)\r\nMacOS 10.11.6 (15G31)\r\nStudio 4.8.1.201612050850\r\nTi SDK 6.0.3 GA\r\nAppc NPM 4.2.8\r\nAppc CLI 6.1.0\r\nTi CLI 5.0.11\r\nAlloy 1.9.5\r\nArrow 1.10.1\r\nXcode 8.2 (8C38)\r\nNode v4.6.0\r\nJava 1.7.0_80", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-27T20:57:49.000+0000", "updated": "2017-03-27T20:57:49.000+0000" } ], "maxResults": 8, "total": 8, "startAt": 0 } } }