Friday, July 26, 2013

Re: GWT load issues on ios 3G device

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