[
https://issues.apache.org/jira/browse/CB-588?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13263832#comment-13263832
]
Daniel Kurka commented on CB-588:
---------------------------------
actually we have 14 instanceof checks in cordovoa.ios.js (I also have breakage
in the contact plugin, which I suspect will be due to the same reason, because
if I use a linker without frames it works fine)
So we should investigate all 14 instanceOf checks, maybe open another issue to
track those?
> Cordova breaks Events for GWT Apps
> ----------------------------------
>
> Key: CB-588
> URL: https://issues.apache.org/jira/browse/CB-588
> Project: Apache Callback
> Issue Type: Bug
> Affects Versions: 1.5.0, 1.6.0, 1.6.1
> Reporter: Daniel Kurka
> Assignee: Filip Maj
> Attachments: www.zip
>
>
> GWT Apps (Google Web Toolkit) use several different mechanism for loading
> their compiled code.
> Most of the times the code is loaded into a hidden iframe for separation with
> the main page.
> In the past this was no issue, but it seems that the transition to requireJS
> introduced some problems.
> For some reason cordova is unable to call functions that are dynamically
> defined in that iframe.
> I had a hard time boiling this down because there is a lot of code generated
> by GWT. I will attach a simple demo project which consists of the generated
> boot script, which will load a html file (which will contain the app code)
> into a hidden iframe.
> The only thing the GWT App does is to register for the resume event, the
> callback is added to the resume channel correctly. The problem is when the
> channel fires.
> The fire method of Channel fails to recognize the gwt function as instances
> of Functions. Trying to call it manually results in no events firing at
> all....
> I`ll be happy to provide more information as needed, this one has already
> taken me quite a while.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira