{"action":"created","issue":{"url":"https://api.github.com/repos/mokesmokes/titanium-android-facebook/issues/11","labels_url":"https://api.github.com/repos/mokesmokes/titanium-android-facebook/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/mokesmokes/titanium-android-facebook/issues/11/comments","events_url":"https://api.github.com/repos/mokesmokes/titanium-android-facebook/issues/11/events","html_url":"https://github.com/mokesmokes/titanium-android-facebook/issues/11","id":57095443,"number":11,"title":"Failure to capture events after fb.authorize()","user":{"login":"JeffKitson","id":4663739,"avatar_url":"https://avatars.githubusercontent.com/u/4663739?v=3","gravatar_id":"","url":"https://api.github.com/users/JeffKitson","html_url":"https://github.com/JeffKitson","followers_url":"https://api.github.com/users/JeffKitson/followers","following_url":"https://api.github.com/users/JeffKitson/following{/other_user}","gists_url":"https://api.github.com/users/JeffKitson/gists{/gist_id}","starred_url":"https://api.github.com/users/JeffKitson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JeffKitson/subscriptions","organizations_url":"https://api.github.com/users/JeffKitson/orgs","repos_url":"https://api.github.com/users/JeffKitson/repos","events_url":"https://api.github.com/users/JeffKitson/events{/privacy}","received_events_url":"https://api.github.com/users/JeffKitson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-02-09T21:51:20Z","updated_at":"2015-02-11T18:07:50Z","closed_at":null,"body":"I've reviewed the docs, your commits, and the other issues at length trying to make sure this isn't something obvious. It seems the event listeners assigned to the proxy never fire. Neither success, fail, cancel or other gets tripped.\r\n\r\nI'm using the custom 3.4.2 branch you listed and create it like so below:\r\n\r\n```javascript\r\nvar win1 = Ti.UI.createWindow({\r\n\t\tbackgroundColor:'white'\r\n\t});\r\n\tvar fb = require('com.ti.facebook');\r\n\t win1.fbProxy = fb.createActivityWorker({lifecycleContainer: win1});\r\n\tfb.permissions = ['public_profile', 'email', 'user_friends'];\r\n\t// now set up listeners\r\n\tfb.addEventListener('login', function(e) {\r\n    if(e.success) {\r\n\r\n```\r\nAll of the ux and authentication process seems just fine but for some odd reason the result events aren't picked up. I know you do presence testing for the listener so I tried assigning the listener to both win1, fb, and win1.fbProxy but I always got the same result.\r\n\r\n```log\r\n[INFO] :   chromium: [INFO:library_loader_hooks.cc(112)] Chromium logging enabled: level = 0, default verbosity = 0\r\n[INFO] :   BrowserProcessMain: Initializing chromium process, renderers=0\r\n[WARN] :   chromium: [WARNING:proxy_service.cc(888)] PAC support disabled because there is no system implementation\r\n[INFO] :   Choreographer: Skipped 33 frames!  The application may be doing too much work on its main thread.\r\n[INFO] :   chromium: [INFO:simple_index_file.cc(397)] Simple Cache Index is being restored from disk.\r\n[ERROR] :  ViewRootImpl: sendUserActionEvent() mView == null\r\n[INFO] :   chromium: [INFO:async_pixel_transfer_manager_android.cc(56)] Async pixel transfers not supported\r\n[INFO] :   chromium: [INFO:async_pixel_transfer_manager_android.cc(56)] Async pixel transfers not supported\r\n[ERROR] :  qdutils: FBIOGET_FSCREENINFO failed\r\n[ERROR] :  ViewRootImpl: sendUserActionEvent() mView == null\r\n[ERROR] :  ViewRootImpl: sendUserActionEvent() mView == null\r\n[INFO] :   APSAnalyticsService: Analytics Service Started\r\n[INFO] :   APSAnalyticsService: Stopping Analytics Service\r\n```\r\n\r\nThanks for building these modules btw."},"comment":{"url":"https://api.github.com/repos/mokesmokes/titanium-android-facebook/issues/comments/73931569","html_url":"https://github.com/mokesmokes/titanium-android-facebook/issues/11#issuecomment-73931569","issue_url":"https://api.github.com/repos/mokesmokes/titanium-android-facebook/issues/11","id":73931569,"user":{"login":"JeffKitson","id":4663739,"avatar_url":"https://avatars.githubusercontent.com/u/4663739?v=3","gravatar_id":"","url":"https://api.github.com/users/JeffKitson","html_url":"https://github.com/JeffKitson","followers_url":"https://api.github.com/users/JeffKitson/followers","following_url":"https://api.github.com/users/JeffKitson/following{/other_user}","gists_url":"https://api.github.com/users/JeffKitson/gists{/gist_id}","starred_url":"https://api.github.com/users/JeffKitson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JeffKitson/subscriptions","organizations_url":"https://api.github.com/users/JeffKitson/orgs","repos_url":"https://api.github.com/users/JeffKitson/repos","events_url":"https://api.github.com/users/JeffKitson/events{/privacy}","received_events_url":"https://api.github.com/users/JeffKitson/received_events","type":"User","site_admin":false},"created_at":"2015-02-11T18:07:50Z","updated_at":"2015-02-11T18:07:50Z","body":"Oh yea. Makes it all the way through the auth process with Facebook and it works as expected until it closes out after the user authorizes the application. Facebook shows the app as authorized but I can never get any of the events coming from the module. I'm not sure if there is something else I'd need that would cause this issue. As I mentioned I'm using your branch of the SDK and the module. "}}