daogr / facebook-actionscript-api

Automatically exported from code.google.com/p/facebook-actionscript-api
0 stars 0 forks source link

MobileLoginWindow's stage web view cannot handle Event.LOCATION_CHANGE on XOOM - Android3 #329

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Build MediaUploadDemo.
2. Take action to login (ex. press a button) on XOOM Android3.1 device. Then 
"MobileLoginWindow" appears.
3. fill form and login to facebook

What is the expected output? What do you see instead?

Control is back and success/failed handler should be called
but StageWebView is not disposed and I only got screen with "Success".

What version of the product are you using? On what operating system?

ver.1.6.1 and Android 3.1

Please provide any additional information below.

It seems to be that Event.LOCATION_CHANGE could not be handled at StageWebView 
when facebook sends several redirections. On first redirection, 
Event.LOCATION_CHANGE is handled but second recirection is not handled (or the 
event is not sent?).

I changed 

webView.addEventListener(
                Event.LOCATION_CHANGE,
                handleLocationChange,
                false, 0, true
            );

to

webView.addEventListener(
                Event.COMPLETE,
                handleLocationChange,
                false, 0, true
            );

this works fine.

Original issue reported on code.google.com by lonely.t...@gmail.com on 17 Jul 2011 at 3:15

GoogleCodeExporter commented 8 years ago
Issue 352 has been merged into this issue.

Original comment by ryanstew...@gmail.com on 17 Sep 2011 at 8:15

GoogleCodeExporter commented 8 years ago

Original comment by ryanstew...@gmail.com on 17 Sep 2011 at 8:15

GoogleCodeExporter commented 8 years ago

Original comment by ryanstew...@gmail.com on 17 Sep 2011 at 8:41