{ "id": "119820", "key": "TIMOB-15266", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "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": [], "resolution": null, "resolutiondate": null, "created": "2013-09-12T14:34:09.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "android", "facebook", "parity", "permissions", "reauthorize" ], "versions": [], "issuelinks": [ { "id": "32315", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "103072", "key": "TIMOB-11360", "fields": { "summary": "Tooling: Android module build scripts throw NoClassFoundException when native Android project is included as library which has UI built in XML", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": null, "updated": "2018-02-28T20:03:34.000+0000", "status": { "description": "This issue was once resolved, but the resolution was deemed incorrect. From here issues are either marked assigned or resolved.", "name": "Reopened", "id": "4", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "For some reason, the {{authorize}} method is only available on iOS. AFAK there's no clean way on Android to get additional permissions. The only [workaround|https://github.com/FokkeZB/UTiL/blob/master/faceboost/faceboost.js#L127] is to logout and authorize again, but that's really ugly, triggering login/logout events with unwanted effects.\r\n\r\nIMHO the Android SDK's [NewPermissionsRequest|https://developers.facebook.com/docs/reference/android/current/Session.NewPermissionsRequest] could be implemented to fix this parity issue.", "attachment": [], "flagged": false, "summary": "Android (parity): Implement \"NewPermissionsRequest\" as \"reauthorize\"", "creator": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "subtasks": [], "reporter": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "environment": "SDK 3.1.3.RC", "comment": { "comments": [ { "id": "271706", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "No way this is {{Not Our Bug}}.\r\n\r\nBoth the iOS and Android Facebook SDK's provide methods to ask for additional permissions. In Titanium this is only implemented for iOS. Because of this there is now no way to ask for additional permissions on Android after they have withdrawn earlier given permissions or were logged in with the minimal permissions, like advised by the Facebook Dev Docs.\r\n\r\nThis *should* get implemented and given high priority. Social login is a core-feature of many apps.", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2013-09-18T08:52:48.000+0000", "updated": "2013-09-18T08:52:48.000+0000" }, { "id": "271749", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~fokke] I've reopened the bug and inquired why it was resolved as such.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-09-18T15:38:57.000+0000", "updated": "2013-09-18T15:38:57.000+0000" }, { "id": "271768", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "Appreciate that [~ingo], thx!", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2013-09-18T16:53:11.000+0000", "updated": "2013-09-18T16:53:11.000+0000" }, { "id": "272647", "author": { "name": "mokesmokes", "key": "mokesmokes", "displayName": "Mark Mokryn", "active": true, "timeZone": "Asia/Jerusalem" }, "updateAuthor": { "name": "mokesmokes", "key": "mokesmokes", "displayName": "Mark Mokryn", "active": true, "timeZone": "Asia/Jerusalem" }, "created": "2013-09-24T12:29:49.000+0000", "updated": "2013-09-24T12:29:49.000+0000" }, { "id": "272648", "author": { "name": "mokesmokes", "key": "mokesmokes", "displayName": "Mark Mokryn", "active": true, "timeZone": "Asia/Jerusalem" }, "body": "Please see this: https://developers.facebook.com/docs/facebook-login/checklist/\r\nIt's quite possible that the Ti Android Facebook module will be broken October 2nd.", "updateAuthor": { "name": "mokesmokes", "key": "mokesmokes", "displayName": "Mark Mokryn", "active": true, "timeZone": "Asia/Jerusalem" }, "created": "2013-09-24T12:37:03.000+0000", "updated": "2013-09-24T12:37:03.000+0000" }, { "id": "272650", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "And like number 6 on that checklist states \"Ask only for the permissions that you need\"\r\n\r\nSo that's why we need reauthorize for Android as well.\r\n\r\nPlease guys, social integration should be top priority for an app platform, we need this in 3.1.4", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2013-09-24T12:48:50.000+0000", "updated": "2013-09-24T12:48:50.000+0000" }, { "id": "272651", "author": { "name": "mokesmokes", "key": "mokesmokes", "displayName": "Mark Mokryn", "active": true, "timeZone": "Asia/Jerusalem" }, "body": "We need this before October 2nd, apparently......", "updateAuthor": { "name": "mokesmokes", "key": "mokesmokes", "displayName": "Mark Mokryn", "active": true, "timeZone": "Asia/Jerusalem" }, "created": "2013-09-24T12:53:41.000+0000", "updated": "2013-09-24T12:53:41.000+0000" }, { "id": "272673", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "From the link: \"Native iOS and Android apps must not use custom web views for Login (Effective October 2, 2013)\"", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-09-24T15:57:13.000+0000", "updated": "2013-09-24T15:57:13.000+0000" }, { "id": "272823", "author": { "name": "mokesmokes", "key": "mokesmokes", "displayName": "Mark Mokryn", "active": true, "timeZone": "Asia/Jerusalem" }, "body": "In addition, neither the iOS nor the Android modules support the new Share dialog. This dialog provides a native app view, and is not web based like the old dialogs. It's the recommended method now for sharing on Facebook enabled apps.\r\nhttps://developers.facebook.com/docs/ios/share-dialogs-ios-sdk/\r\nhttps://developers.facebook.com/docs/android/share-dialog/\r\nBTW - one of the key advantages is that the share dialog doesn't require any additional permissions, in fact it doesn't even require the user to login to the app with Facebook.", "updateAuthor": { "name": "mokesmokes", "key": "mokesmokes", "displayName": "Mark Mokryn", "active": true, "timeZone": "Asia/Jerusalem" }, "created": "2013-09-25T10:05:40.000+0000", "updated": "2013-09-25T10:07:18.000+0000" }, { "id": "272883", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~mokesmokes] We've reviewed the link, and we are using the APIs provided by Facebook, not our own custom web view, so we appear to be unaffected by the October 2nd deadline.\n\nTo the larger point, we are planning on scheduling an upgrade to the Android module and a switch to the non-legacy APIs. However, based on the amount of time that will take, I am not certain we can fit that into the 3.2.0 timeframe. We will keep you updated with any scheduling information.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-09-25T20:51:00.000+0000", "updated": "2013-09-25T20:51:00.000+0000" }, { "id": "273987", "author": { "name": "mokesmokes", "key": "mokesmokes", "displayName": "Mark Mokryn", "active": true, "timeZone": "Asia/Jerusalem" }, "updateAuthor": { "name": "mokesmokes", "key": "mokesmokes", "displayName": "Mark Mokryn", "active": true, "timeZone": "Asia/Jerusalem" }, "created": "2013-10-07T12:46:45.000+0000", "updated": "2013-10-07T12:46:45.000+0000" }, { "id": "275040", "author": { "name": "mokesmokes", "key": "mokesmokes", "displayName": "Mark Mokryn", "active": true, "timeZone": "Asia/Jerusalem" }, "body": "I wrote a new Facebook Android module based on the latest SDK (3.5.2). I wrote just what I need currently for my app (login/logout and Share Dialog) - but the architecture is such that it is very easy to extend. There is a separate Activity that handles all the Facebook state changes, that Activity is written entirely in accordance with Facebook docs - and the module communicates with that activity. This module is in production for me, and is faster and more reliable than the existing module. Pull request is here: https://github.com/appcelerator/titanium_modules/pull/143 or just go to my repository: https://github.com/mokesmokes/titanium_modules/tree/master/facebook/mobile/android", "updateAuthor": { "name": "mokesmokes", "key": "mokesmokes", "displayName": "Mark Mokryn", "active": true, "timeZone": "Asia/Jerusalem" }, "created": "2013-10-14T20:52:38.000+0000", "updated": "2013-10-14T20:52:38.000+0000" }, { "id": "306643", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "The Facebook module really need to be updated, hopefully fixing parity and other bugs with that.\r\n\r\nWhat are your thoughts on the PR [~ingo]?", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2014-05-28T14:31:05.000+0000", "updated": "2014-05-28T14:31:05.000+0000" } ], "maxResults": 14, "total": 14, "startAt": 0 } } }