Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-14879] Android: webview loading spinning indicator is not shown setting/not setting a backgroundColor

GitHub Issuen/a
TypeBug
PriorityLow
StatusOpen
ResolutionUnresolved
Affected Version/sRelease 3.1.2
Fix Version/sn/a
ComponentsAndroid
Labelsqe-3.1.2, reprod
ReporterPriya Agarwal
AssigneeUnknown
Created2013-08-14T09:58:57.000+0000
Updated2018-02-28T20:03:59.000+0000

Description

This is not a regression. Since the issue occurs in 3.1.1GA also. Opening a PDF inside a webView, a loading indicator should be shown before the PDF is displayed.
var win = Ti.UI.createWindow({
    title:'test'
});
 
var data=[{title:'open pdf!'}];
 
var tw = Ti.UI.createTableView({
    data:data
});
 
 
tw.addEventListener('click', function(e){
    var webview = Titanium.UI.createWebView({
        backgroundColor:'white',
        url:'http://www.appcelerator.com/assets/The_iPad_App_Wave.pdf'});
    var win2 = Titanium.UI.createWindow();
    win2.add(webview);
    win2.open({modal:true});
});
 
 
win.add(tw);
 
win.open();
Expected Result: Spinning indicator must be shown. Actual Result: No spinning indicator is shown.

Comments

  1. Eric Merriman 2013-09-05

    Our kitchensink example does not support display of a PDF in a webview. Will investigate our capability here.
  2. Lee Morris 2017-06-27

    I am able to reproduce this issue with the following environment; Pixel (7.1) Ti SDK 6.1.1.v20170626160851 Appc NPM 4.2.9 Appc CLI 6.2.2 Ti CLI 5.0.14 Alloy 1.9.11 Xcode 8.2 (8C38) Node v4.8.2 Java 1.8.0_131

JSON Source