cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joe Bowser (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CB-6664) Android/Cordova inAppBrowser doesn't use application cache
Date Tue, 01 Nov 2016 22:02:58 GMT

     [ https://issues.apache.org/jira/browse/CB-6664?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Joe Bowser updated CB-6664:
---------------------------
    Component/s:     (was: CordovaLib)
                 Plugin InAppBrowser

It might help if this actually was filed in the right area.  This is a plugin issue, not an
issue with the Cordova CLI.

> Android/Cordova inAppBrowser doesn't use application cache
> ----------------------------------------------------------
>
>                 Key: CB-6664
>                 URL: https://issues.apache.org/jira/browse/CB-6664
>             Project: Apache Cordova
>          Issue Type: New Feature
>          Components: Plugin InAppBrowser
>    Affects Versions: 3.4.0
>         Environment: Android 4.4.2
>            Reporter: Nick Redding
>              Labels: inappbrowser,, webview
>
> 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):
> {code:title=index.js|borderStyle=solid}
> var app = {
>     // Application Constructor
>     initialize: function() {
>         this.bindEvents();
>     },
>     bindEvents: function() {
>         document.addEventListener('deviceready', this.onDeviceReady, false);
>     },
>     onDeviceReady: function() {
>         app.receivedEvent();
>     },
>     receivedEvent: function(id) {
>         var url = 'http://html5demos.com/offlineapp';
>         var ref = window.open(url,'_blank',
>             'location=no,hidden=yes,toolbar=no,enableViewportScale=yes,transitionstyle=crossdissolve');
>         ref.addEventListener('loadstop', function(event) { 
>             ref.show();
>         });
>     }
> };
> {code}
> 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
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message