开发者

GWT Obfuscation crashes iPad Safari browser

开发者 https://www.devze.com 2023-03-10 11:17 出处:网络
I built a large GWT app that works fine on chrome/safari. But on the iPad 2 the app crashes mobile safari.

I built a large GWT app that works fine on chrome/safari. But on the iPad 2 the app crashes mobile safari.

I suspect that the obfuscation version that the compiler creates, output lines that are too long for the iPad 2 WebKit browser. When I compile the app in pretty mode it works.

Does anyone has any hints on how to solve this problem? going to production with pretty mode is not an option.

开发者_运维技巧

Thanks!


We had the same issue and it seems to be a problem with iOS 4.x. The fix for this it to compile in PRETTY mode, that will work


i ran into the same issue with ipad one and a large gwt app. I changed from the iframe gwt linker to the cross site javascript linker and got rid of the issue.

In your gwt.xml file try this:

<inherits name="com.google.gwt.core.Core" />
<add-linker name="xs" />
0

精彩评论

暂无评论...
验证码 换一张
取 消