Sunday, July 28, 2013

Re: GWT load issues on ios 3G device

Thanks for the quick reply.  I do have the GWT.setUncaughtExceptionHandler() setup.  The problem seems to be that even that piece of code does not have the opportunity to run.  I have added Window.alert() statements directly after the onMonduleLoad method of my EntryPoint, and not even that runs.  I suspect, as per my reply in the other post below, that the js files are not even sent to the client. 

On Friday, July 26, 2013 1:28:25 PM UTC-7, Jens wrote:
Our GWT apps work just fine on 3G connections.

The only issue that exists on iOS 6.x is that mobile Safari 6.x has JIT issues (actually these JIT issues also exist in Safari 6 on desktop) which can result in random JavaScript exceptions if you are unlucky. These random exceptions can also cause your app to not load. The only solution is to either use Chrome on iOS 6.x until Apple has fixed these JIT issues (Chrome also uses the Safari rendering engine on iOS but Chrome does not have access to the JIT compiler thus Chrome works) or you have to do a nasty hack which somewhat disables JIT in Safari for your app.

Have you setup a GWT.setUncaughtExceptionHandler()? If not, set it up with a simple window alert to see if any unexpected exceptions occur in your app while loading.

-- J.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment