You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Joe Bowser (JIRA)" <ji...@apache.org> on 2017/09/17 17:09:00 UTC

[jira] [Updated] (CB-6664) Android/Cordova inAppBrowser doesn't use application cache

     [ 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: Ionic)
                 cordova-plugin-inappbrowser

No idea why Ionic is a component, since Ionic is not an ASF project, or a part of Cordova.

> 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: cordova-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.4.14#64029)

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