cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nick Redding (JIRA)" <>
Subject [jira] [Created] (CB-6664) Android/Cordova inAppBrowser doesn't use application cache
Date Sat, 10 May 2014 22:14:37 GMT
Nick Redding created CB-6664:

             Summary: Android/Cordova inAppBrowser doesn't use application cache
                 Key: CB-6664
             Project: Apache Cordova
          Issue Type: New Feature
          Components: CordovaLib
    Affects Versions: 3.4.0
         Environment: Android 4.4.2
            Reporter: Nick Redding

I'm using the latest Cordova platform which has a supposed fix (CB-2282) to enable AppCache,
but it doesn't seem to work on Android 4.4.2. This simple test illustrates (this is the startup
javascript for the app):

var app = {
    // Application Constructor
    initialize: function() {
    bindEvents: function() {
        document.addEventListener('deviceready', this.onDeviceReady, false);
    onDeviceReady: function() {
    receivedEvent: function(id) {
        var url = '';
        var ref =,'_blank',
        ref.addEventListener('loadstop', function(event) { 
The example page html5demos/offlineapp clearly shows app caching in effect when run from the
Chrome browser, but this Cordova app shows no app cache in effect.

This message was sent by Atlassian JIRA

View raw message