Titanium JIRA Archive
Appcelerator Community (AC)

[AC-107] WebView shows blank page after loading with SDK 4.0.0.RC

GitHub Issuen/a
TypeBug
Priorityn/a
StatusResolved
ResolutionCannot Reproduce
Resolution Date2015-05-18T04:16:41.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelsn/a
ReporterSebastian Klaus
AssigneeRadamantis Torres-Lechuga
Created2015-04-30T09:57:09.000+0000
Updated2015-05-18T04:16:41.000+0000

Description

Operating System
  Name                        = Mac OS X
  Version                     = 10.10.4
  Architecture                = 64bit
  # CPUs                      = 8
  Memory                      = 17179869184

Node.js
  Node.js Version             = 0.10.38
  npm Version                 = 1.4.28

Titanium CLI
  CLI Version                 = 3.4.2

Titanium SDK
  SDK Version                 = 4.0.0.RC
  SDK Path                    = /Volumes/Data/Users/sebastian/Library/Application Support/Titanium/mobilesdk/osx/4.0.0.RC
  Target Platform             = iphone
If I use this script with given url, the webView gets blank after loading the content. Trying with "http://www.youtube.com" instead of the given url, it works.
var browserWin = Ti.UI.createWindow();
var browser = Ti.UI.createWebView({
	url:'http://www.youtube.com/results?search_query=transformers'
});
browserWin.add(browser);
browserWin.open({
	modal:true
});
var browserWin = Ti.UI.createWindow();
var browser = Ti.UI.createWebView({
	url:'http://www.youtube.com'
});
browserWin.add(browser);
browserWin.open({
	modal:true
});

Comments

  1. Eric Wieber 2015-05-12

    I am unable to reproduce this, using: MacOS 10.10.3 Studio 4.0.0.201505120319 Ti SDK 4.0.0.v20150511112612 Appc NPM 0.3.55 Appc CLI 0.2.282 Ti CLI 4.0.0-beta8 Alloy 1.6.0-beta4 Node v0.10.37 Java 1.7.0_45 And both the "Fails" and "Works" samples, above. Tried on Simulator with iOS 8.3 and iPad Air with iOS 8.4. The webview properly loads and does not go blank.
  2. Ingo Muschenetz 2015-05-18

    We seem to be unable to reproduce this, but if you let us know what we might have done wrong, we'd be happy to try again.

JSON Source