{ "id": "63853", "key": "TIMOB-3221", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "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": [ { "id": "11258", "description": "Holding Pen for Triaged Issues", "name": "Backlog", "archived": false, "released": false } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-08-27T13:03:33.000+0000", "created": "2011-04-15T03:39:50.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-20T17:00:00.000+0000", "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" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "{html}

Nothing happens on the Android emulator when firing the\nauthorize call. (Same code works on iOS)

\n
\nTi.Facebook.appid = 'xxx';\nTi.Facebook.permissions = ['publish_stream'];\nTi.Facebook.authorize();\n
\n

But some action is happening behind the scenes.

\n
\n[TRACE] W/InputManagerService( 64): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@450d0020\n[TRACE] D/Facebook-WebView( 290): Webview loading URL: https://m.facebook.com/dialog/oauth?display=touch&client_id=xxx&scope=publish_stream&type=user_agent&redirect_uri=fbconnect%3A%2F%2Fsuccess\n[TRACE] D/Facebook-WebView( 290): Webview loading URL: http://www.facebook.com/connect/uiserver.php?app_id=xxx&method=permissions.request&display=touch&next=fbconnect%3A%2F%2Fsuccess&type=user_agent&fbconnect=1&perms=publish_stream\n[TRACE] D/Facebook-WebView( 290): Redirect URL: http://www.facebook.com/connect/uiserver.php?app_id=xxx&method=permissions.request&display=touch&next=fbconnect%3A%2F%2Fsuccess&type=user_agent&fbconnect=1&perms=publish_stream\n[TRACE] D/Facebook-WebView( 290): Webview loading URL: http://touch.facebook.com/login.php?app_id=xxx&cancel=fbconnect%3A%2F%2Fsuccess%2F%3Ferror_reason%3Duser_denied%26error%3Daccess_denied%26error_description%3DThe%2Buser%2Bdenied%2Byour%2Brequest.&fbconnect=1&next=http%3A%2F%2Fwww.facebook.com%2Fconnect%2Fuiserver.php%3Fmethod%3Dpermissions.request%26app_id%3Dxxx%26display%3Dtouch%26redirect_uri%3Dfbconnect%253A%252F%252Fsuccess%26type%3Duser_agent%26fbconnect%3D1%26perms%3Dpublish_stream%26from_login%3D1&rcount=1\n[TRACE] D/Facebook-WebView( 290): Redirect URL: http://touch.facebook.com/login.php?app_id=xxx&cancel=fbconnect%3A%2F%2Fsuccess%2F%3Ferror_reason%3Duser_denied%26error%3Daccess_denied%26error_description%3DThe%2Buser%2Bdenied%2Byour%2Brequest.&fbconnect=1&next=http%3A%2F%2Fwww.facebook.com%2Fconnect%2Fuiserver.php%3Fmethod%3Dpermissions.request%26app_id%3Dxxx%26display%3Dtouch%26redirect_uri%3Dfbconnect%253A%252F%252Fsuccess%26type%3Duser_agent%26fbconnect%3D1%26perms%3Dpublish_stream%26from_login%3D1&rcount=1\n
{html}", "attachment": [], "flagged": false, "summary": "Facebook.authorize not firing on Android with 1.6.0", "creator": { "name": "bricelechatellier", "key": "bricelechatellier", "displayName": "Brice Lechatellier", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "bricelechatellier", "key": "bricelechatellier", "displayName": "Brice Lechatellier", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "closedSprints": [ { "id": 695, "state": "closed", "name": "2016 Sprint 17 SDK", "startDate": "2016-08-13T00:00:16.620Z", "endDate": "2016-08-27T00:00:00.000Z", "completeDate": "2016-08-29T03:18:08.942Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "394564", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Fixed in Ti.Facebook 5.0.0 and later.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-08-27T13:03:33.000+0000", "updated": "2016-08-27T13:03:33.000+0000" }, { "id": "413712", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as fixed.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-20T17:00:00.000+0000", "updated": "2017-03-20T17:00:00.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }