{ "id": "152911", "key": "AC-499", "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": "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": "2015-11-23T07:11:46.000+0000", "created": "2015-11-12T00:12:37.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "updated": "2015-11-23T07:11:46.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": [], "description": "Facebook no longer works on iOS9. Trying to login, the following message appears:\r\n~~~\r\nfbauth2 is missing from your Info.plist under LSApplicationQueriesSchemes and is required for iOS 9\r\n~~~\r\nAdding the suggested fix keeps the app from crashing, loads Facebook for login and comes back to the app, but then does not go further and actually do anything.", "attachment": [], "flagged": false, "summary": "Facebook no longer works - fbauth2 is missing from your info.plist", "creator": { "name": "joshlewis", "key": "joshlewis", "displayName": "Josh Lewis", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "joshlewis", "key": "joshlewis", "displayName": "Josh Lewis", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "El Capitan, Xcode7, latest TI SDK and Studio", "comment": { "comments": [ { "id": "370320", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello [~joshlewis], Looks like your Facebook authentication is missing from your tiapp.xml file, Which is [additional iOS setup steps|http://docs.appcelerator.com/platform/latest/#!/api/Modules.Facebook]. Add the following keys:\r\n\r\n 1. FacebookAppID key with your Facebook App ID as the string value.\r\n 2. FacebookDisplayName key with your Facebook App name (the one from developer.facebook.com) as the string value.\r\n 3. CFBundleURLTypes key with a single-element array containing a dict as the value, where the dict contains:\r\n * CFBundleURLName key with the application app ID (same value as the id in the tiapp.xml file) as the string value.\r\n * CFBundleURLSchemes key with a single-element array containing the Facebook App ID prefixed with fb as a string value.\r\n\r\nFor example:\r\n{code}\r\n \r\n \r\n \r\n \r\n CFBundleURLTypes\r\n \r\n \r\n CFBundleURLName\r\n \r\n APP_ID\r\n CFBundleURLSchemes\r\n \r\n \r\n fbFACEBOOK_APP_ID\r\n \r\n \r\n \r\n FacebookAppID\r\n \r\n FACEBOOK_APP_ID\r\n FacebookDisplayName\r\n \r\n FACEBOOK_APP_NAME\r\n \r\n \r\n \r\n \r\n{code}\r\n\r\nThis should work for you. I have tested it, And it's working. Hope this helps, Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2015-11-16T05:53:43.000+0000", "updated": "2015-11-16T05:53:43.000+0000" }, { "id": "370351", "author": { "name": "joshlewis", "key": "joshlewis", "displayName": "Josh Lewis", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Still doesn't work in the 5.x sdk. Also, apparently in 4.x now, the data from the fb 'login' event listener has to be json-parsed now. Calling e.data.email equals null, but calling var x = JSON.parse(e.data);alert(x.email); works...", "updateAuthor": { "name": "joshlewis", "key": "joshlewis", "displayName": "Josh Lewis", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-11-16T15:51:15.000+0000", "updated": "2015-11-16T15:51:15.000+0000" }, { "id": "371103", "author": { "name": "morahman", "key": "morahman", "displayName": "Motiur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "body": "Hi [~josh.lewis],\r\n\r\nWe can successfully login Facebook with the following version. Login problem can happen because of your Facebook APPID is not created with the updated version or you didn't follow all the steps. Also, the plist file of your tiapp.xml is not well prepared. So I recommend you to create Fb_ID *developers.facebook.com* with updated version and follow all the steps\r\nand follow this guide also - http://docs.appcelerator.com/platform/latest/#!/api/Modules.Facebook\r\n\r\n*Testing Environment:*\r\nOperating System\r\n Name = Mac OS X\r\n Version = 10.11.1\r\n Architecture = 64bit\r\n # CPUs = 4\r\n Memory = 8589934592\r\nNode.js\r\n Node.js Version = 4.2.2\r\n npm Version = 3.4.1\r\nTitanium CLI\r\n CLI Version = 5.0.5\r\nTitanium SDK\r\n SDK Version = 5.1.0.GA, 5.0.2.GA\r\n Target Platform = iphone\r\n\r\n*Test Code:*\r\n{code:title=app.js}\r\n// Don't forget to set your requested permissions, else the login button won't be effective.\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor : 'white'\r\n});\r\nvar fb = require('facebook');\r\n\r\nfb.addEventListener('login', function(e) {\r\n\tif (e.success) {\r\n\t\talert('Logged in');\r\n\t}\r\n});\r\nfb.addEventListener('logout', function(e) {\r\n\talert('Logged out');\r\n});\r\n\r\nif (Ti.Platform.name === 'android') {\r\n\twin.fbProxy = fb.createActivityWorker({\r\n\t\tlifecycleContainer : win\r\n\t});\r\n}\r\n\r\n// Add the button. Note that it doesn't need a click event listener.\r\nwin.add(fb.createLoginButton({\r\n\treadPermissions : ['user_friends','email'],\r\n\ttop : 50\r\n}));\r\n\r\nwin.open();\r\n{code}\r\n\r\nThanks\r\n", "updateAuthor": { "name": "morahman", "key": "morahman", "displayName": "Motiur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2015-11-23T07:05:26.000+0000", "updated": "2015-11-23T07:07:26.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }