NappUI icon indicating copy to clipboard operation
NappUI copied to clipboard

webview redirects to white screen when the url/site contains javascript

Open arifje opened this issue 11 years ago • 4 comments

When this module is enabled in the tiapp.xml, webviews that are loading websites or pages that contain javascript scode uch as facebook js sdk, twitter buttons or google banners, turn white. You'll see a flash of the original page, but then it gets redirected to a blank page.

Example project: http://bit.ly/1lz1jDm

(basis alloy project with 1 single webview, to test enable or disable the module in tiapp.xml and run)

arifje avatar Feb 04 '14 21:02 arifje

Any solution to this problem? I am having the same problem. I can load desk top Wikipedia page, but not mobile version of it.

greatschism avatar Apr 21 '14 21:04 greatschism

I'm having the exact problem with webpages going white.

There is something in either Ti SDK or Napp UI that is screwing up webviews. Local and remote.

Classic SDK 3.3.0

mrtomnguyen avatar Sep 16 '14 19:09 mrtomnguyen

I think #57 might be a possible duplicate with some background on why it's happening.

milgner avatar Apr 23 '15 09:04 milgner

I had the same issue but when I removed this module the WebView started working again. I posted a question on SO, and answered it myself. My problem was PayPal login, which would come back blank after the spinning wheel. It took me a while to figure out that the issue was due to the fact that I had added this package to my project.

RayKahn avatar May 19 '16 17:05 RayKahn