Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-7556] Titanium Android: Error loading Twitter in Webview

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2012-02-14T23:29:00.000+0000
Affected Version/sRelease 1.8.0.1
Fix Version/sSprint 2012-03, Release 2.0.0, Release 1.8.2
ComponentsAndroid
LabelsAndroid, Twitter, module_webview, parity, qe-testadded
ReporterVarun Joshi
AssigneeBill Dawson
Created2012-02-06T14:39:50.000+0000
Updated2012-03-08T01:59:31.000+0000

Description

The Titanium Android webview is not working with the Twitter URL. It works for other websites but somehow Twitter is not able to load. Also, the below sample code works fine in iOS. Please run the sample code below to test this. We get the Twitter icon (image is attached) after running the code. {noformat} var twWindow = Titanium.UI.createWindow({ title: 'Michaels Twitter', backgroundColor: "#fff", color: "black", navBarHidden: true, fullScreen:true }); var webview = Ti.UI.createWebView({ url: "http://www.twitter.com", top: 40 }); twWindow.add(webview); twWindow.open(); {noformat}

Attachments

FileDateSize
Twitter-Error.png2012-02-06T14:39:50.000+000012160

Comments

  1. Bill Dawson 2012-02-08

    pull request ready https://github.com/appcelerator/titanium_mobile/pull/1376
  2. Wilson Luu 2012-02-09

    Closing bug. Verified fix on: SDK build: 1.9.0.v20120209144634 Runtime: V8, Rhino Titanium Studio, build: 1.0.8.201201262211 Device: Nexus 1 (2.2.2)

JSON Source