[TIMOB-14551] iOS : facebook 'logout' event doesn't work without clearing cookies
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2016-08-27T12:46:24.000+0000 |
Affected Version/s | Release 3.1.0, Release 3.1.1, Release 3.2.0 |
Fix Version/s | n/a |
Components | iOS |
Labels | facebook, ios, logout, supportTeam |
Reporter | Meenakshi Pathak |
Assignee | Eric Merriman |
Created | 2013-07-15T10:05:59.000+0000 |
Updated | 2017-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
File | Date | Size |
---|---|---|
test_facebook.zip | 2013-07-15T10:05:59.000+0000 | 8975666 |
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.
Closing ticket as invalid with reference to the previous comments.