Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-14551] iOS : facebook 'logout' event doesn't work without clearing cookies

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionInvalid
Resolution Date2016-08-27T12:46:24.000+0000
Affected Version/sRelease 3.1.0, Release 3.1.1, Release 3.2.0
Fix Version/sn/a
ComponentsiOS
Labelsfacebook, ios, logout, supportTeam
ReporterMeenakshi Pathak
AssigneeEric Merriman
Created2013-07-15T10:05:59.000+0000
Updated2017-03-23T21:32:10.000+0000

Description

Steps to reproduce : 1. Import the attached project.launch it in iOS device. 2. Click on 'login' button. After that click on 'logout' and see its not working. 3. If we clear cookies on logout event like :
 var client = Titanium.Network.createHTTPClient();
    client.clearCookies('https://login.facebook.com');
Now its working fine as expected. So, It should be documented that in iOS platform, We need to do clear the cookies for logging out from the application. Note : This particular behavior can be noticed only on iOS.

Attachments

FileDateSize
test_facebook.zip2013-07-15T10:05:59.000+00008975666

Comments

  1. Hans Knöchel 2016-08-27

    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.
  2. Lee Morris 2017-03-23

    Closing ticket as invalid with reference to the previous comments.

JSON Source