Web popup URL handler - missing events

I’m sending information to a web popup in my game via URLs (“pseudo-URLs”). This works fine on iOS, but on Android the URL change handler only appears to work when a button is pressed that changes the URL - and not when the URL changes regardless of reason (I’m changing them programmatically, via javascript).

Is there any workaround? Can we expect a fix any time soon?

I searched the forum for the problem and found a similar topic, but I wasn’t sure if this is the exact same problem (and that forum post didn’t have any comments under it): http://developer.anscamobile.com/forum/2011/07/05/android-webpopup-problem-pseudo-urls#comment-48799
Sorry for duplicating if this is the same issue, but this is quite urgent for us.
[import]uid: 8145 topic_id: 13288 reply_id: 313288[/import]

Hello Wizem,

We’ve received a similar report on when attempting to log on Twitter’s web page. It seems that the web popup listener is not receiving all URL redirect events on Android. We haven’t narrowed down the issue yet, so we don’t know of a work-around at the moment.

If you don’t mind, can you write up a bug report and along with some sample code that can reproduce this issue please?
See the “Report a Bug” link at the top of this page.

Thanks. [import]uid: 32256 topic_id: 13288 reply_id: 49099[/import]

Hello Wizem,

I have confirmed that the listener does not get invoked by JavaScript redirects. It turned out to be an Android limitation that we were able to find a work-around for. This will be fixed in the next daily build, which will be back online sometime this week. [import]uid: 32256 topic_id: 13288 reply_id: 49815[/import]

That’s great news!

Sorry I wasn’t able to conjure up a test example in time, I was swamped my with usual work routine :(. We got around the issue by adding a button to our relevant pages, and button redirects seemed to work for the time being, but the fix will allow us to get rid of the button :). [import]uid: 8145 topic_id: 13288 reply_id: 49896[/import]

No worries Wizem. I’ve received some sample code from others to reproduce this issue and I’m quite confident that our fix will work for you too. And you’re right, a submit button or an HTML link will work-around this problem. This appeared to be a JavaScript issue only.

In other news, our daily build system is back online! The fix you need can be found in build 600. So have at it, and if you can, let us know if it fixes your problem.

Thanks!

** Edit: Fixed build number typo. ** [import]uid: 32256 topic_id: 13288 reply_id: 49961[/import]

Hi Guys,

I’ve been having this exact problem in the newest releases and I just downloaded build 600 to see if it was working. It’s still broken, pseudo URL’s just don’t work and the urlListener never seems to fire on the android for any type of link. Can you confirm that it works for you so I can narrow it down to my implementation (visible here: http://developer.anscamobile.com/forum/2011/12/20/web-popup-urllistener-works-intermittently) or a problem with my phone (HTC Desire Z)

Cheers,
Richard [import]uid: 96471 topic_id: 13288 reply_id: 75195[/import]

Hi Richard,

It’s working for me. Can you send us a small Corona project that reproduces this problem please? You can do so via the “Report a Bug” link at the top of this web page. Thanks! [import]uid: 32256 topic_id: 13288 reply_id: 75197[/import]

Thankyou for your prompt response!

I have previously submitted a bug report for this issue, would you like me to resubmit?

Also I have no issue getting this to work on the simulator, did you build to android?

[import]uid: 96471 topic_id: 13288 reply_id: 75228[/import]

Hi Richard,

I’ve found your bug report (#10829). I’ll respond to you via our tech-support system. Thanks! [import]uid: 32256 topic_id: 13288 reply_id: 75242[/import]