[MOBILE] Empty StageWebView when calling FacebookMobile.login()

183 views
Skip to first unread message

Roberto Vidal

unread,
Mar 9, 2013, 12:23:33 PM3/9/13
to facebook-act...@googlegroups.com
Hi, I began having some problems with the 1.8.1 mobile API recently. This was working just 2 weeks ago.. I´m using Flex SDK 4.6.0 and AIR 3.5.

This is what the app does: after initializing the API with FacebookMobile.init(...), it returns a "fail" object if no sharedObject is found (when it wasn´t previously logged), and that´s where I create a StageWebView to launch the auth dialog. No problems here, it shows on stage with the desired viewport, and then it begins to change its location as follows:

LocationChangeEvent.LOCATION_CHANGING:

LocationChangeEvent.LOCATION_CHANGING:

LocationChangeEvent.LOCATION_CHANGE:

Event.COMPLETE
(The source code of the stageWebView in this point is: "<head></head><body></body>"). 

So the StageWebView remains blank in iOS/Android devices, not showing the dialog that should appear and that still appears on the computer emulator, where everything keeps working (see image).



It´s weird, as both iOS and Android devices were correctly showing the same dialog to authorize the application, until now. And after the user logged and authorized the app, the StageWebView was closing normally. Is anyone else having this problem now? 


Thanks,
Roberto


Reply all
Reply to author
Forward
0 new messages