{ "id": "171724", "key": "AC-5756", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "8", "description": "", "name": "Needs more info" }, "resolutiondate": "2018-06-09T10:02:39.000+0000", "created": "2018-06-03T13:48:20.000+0000", "labels": [ "facebook", "ios" ], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2019-02-12T16:57:00.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "The is a regression in Ti.facebook module, we can't login twice login -> logout -> login \r\nI have this error\r\n\r\n{quote}\r\n{\"success\":false,\"code\":308,\"cancelled\":false,\"error\":\"Error 308 detected: Please enable keychain-sharing in your projectby creating an Entitlements file. For more information check the\\\"Migrate to iOS 10\\\" section in https://docs.appcelerator.com/platform/latest/#!/api/Modules.Facebook\",\"bubbles\":true,\"type\":\"login\",\"source\":{},\"cancelBubble\":false}{quote}\r\n\r\nIt's work correctly with module version 5.6.0", "attachment": [], "flagged": false, "summary": "Error login facebook on iOS", "creator": { "name": "saidCh", "key": "saidch", "displayName": "said chaouche", "active": true, "timeZone": "Africa/Algiers" }, "subtasks": [], "reporter": { "name": "saidCh", "key": "saidch", "displayName": "said chaouche", "active": true, "timeZone": "Africa/Algiers" }, "environment": "Module Ti.facebook 5.7.X & 5.8.0", "comment": { "comments": [ { "id": "438089", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, Please share a full reproducible sample code/ project with the module sample code for login. We will test the issue in our environment. Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2018-06-04T09:19:45.000+0000", "updated": "2018-06-04T09:19:45.000+0000" }, { "id": "438195", "author": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "body": "Hello,\r\nJust passing as follow here.Are you able to get that sorted out?  Please let us know if you need more help with this issue.\r\nThanks\r\n", "updateAuthor": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2018-06-07T09:28:10.000+0000", "updated": "2018-06-07T09:28:10.000+0000" }, { "id": "439036", "author": { "name": "martz256", "key": "martz256", "displayName": "Martyn Joyce", "active": true, "timeZone": "Europe/London" }, "body": "FYI I have this same problem however it looks to be resolved in the pre-release version of Ti.Facebook 5.9.0", "updateAuthor": { "name": "martz256", "key": "martz256", "displayName": "Martyn Joyce", "active": true, "timeZone": "Europe/London" }, "created": "2018-07-08T15:25:38.000+0000", "updated": "2018-07-08T15:25:38.000+0000" }, { "id": "446020", "author": { "name": "antonioduran", "key": "antonioduran", "displayName": "Francisco Antonio Duran Ramirez", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hello. Good afternoon. \r\n\r\nPlease reopen this ticket since this issue is happening with the latest version of the facebook module.\r\n\r\nBasically to reproduce the issue, you will need to do the following :\r\n\r\n1) To have installed the facebook app\r\n2) To use the latest version of the facebook module in the project:\r\nhttps://github.com/appcelerator-modules/ti.facebook/releases/download/ios-5.9.1/facebook-iphone-5.9.1.zip\r\n3) Make sure you have cleaned the cookies from the device.\r\n4) [Please download the project from this link.|https://fs03n5.sendspace.com/dl/58ab9eef3c022ee0280ab90738f1d278/5c62fa4d741e5525/4v3ozw/fbook.zip]\r\n6) Configure the facebook ids with your own in the tiapp.xml, and the fie of entitlements with the application id.\r\n5) Click on Facebook Log In in the app.\r\n6) NOTE: Please use the option *Log in with the Facebook app* DO NOT use the option *Log in with phone or email*, and follow the process of authentication.\r\n7) Click on Facebook Log Out in the app.\r\n8) Try again clicking the Facebook Log In in the app.\r\n9) You will get the message on the console of:\r\n\r\n{code:java}\r\n{\"success\":false,\"code\":308,\"cancelled\":false,\"error\":\"Error 308 detected: Please enable keychain-sharing in your projectby creating an Entitlements file. For more information check the\\\"Migrate to iOS 10\\\" section in https://docs.appcelerator.com/platform/latest/#!/api/Modules.Facebook\",\"bubbles\":true,\"type\":\"login\",\"source\":{},\"cancelBubble\":false}\r\n{code}\r\n\r\nTested with the following specs:\r\nTitanium SDK: 7.5.0.GA\r\nAxway Appcelerator Studio, build: 5.1.1.201809051655\r\nNode version : v8.9.1\r\nDevice : iPhone 6 \r\niOS Version : 12.1.4\r\nFacebook module versions : \r\niOS:\r\nhttps://github.com/appcelerator-modules/ti.facebook/releases/tag/ios-5.9.1\r\n\r\nThanks, and best,\r\nAntonio.", "updateAuthor": { "name": "antonioduran", "key": "antonioduran", "displayName": "Francisco Antonio Duran Ramirez", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-02-12T16:57:00.000+0000", "updated": "2019-02-12T16:57:00.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }