Return-Path: X-Original-To: apmail-cordova-issues-archive@minotaur.apache.org Delivered-To: apmail-cordova-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D114211442 for ; Fri, 19 Sep 2014 01:01:34 +0000 (UTC) Received: (qmail 54820 invoked by uid 500); 19 Sep 2014 01:01:34 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 54797 invoked by uid 500); 19 Sep 2014 01:01:34 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 54782 invoked by uid 99); 19 Sep 2014 01:01:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Sep 2014 01:01:34 +0000 Date: Fri, 19 Sep 2014 01:01:34 +0000 (UTC) From: "Carlos Santana (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-7539) [WKWebView][iOS 8] Use local webserver option to load local HTML file from www MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-7539?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14139812#comment-14139812 ] Carlos Santana commented on CB-7539: ------------------------------------ SGTM [~shazron] > [WKWebView][iOS 8] Use local webserver option to load local HTML file from www > ------------------------------------------------------------------------------ > > Key: CB-7539 > URL: https://issues.apache.org/jira/browse/CB-7539 > Project: Apache Cordova > Issue Type: Sub-task > Components: iOS > Reporter: Shazron Abdullah > Priority: Blocker > > This workaround is because of this bug: > http://www.openradar.me/radar?id=5839348817723392 > (filed with Apple of course also) > I'm still hoping that Apple fixes this in iOS 8.1, but we should have this as a contingency plan. > Create this as an included plugin, so it can be extracted later if need be. > We need to secure access to the local webserver, probably through a session token in the header, since background apps can have access to the webserver. The session token is passed down to the initially loaded local page specified from the tag in config.xml, and should be used in the cordova.exec call. We would also need to implement local proxy support , see CB-7348 > This all sounds more complex than it needs to be than just loading a file url -- wishing Apple would just fix this in iOS 8.1 instead. -- This message was sent by Atlassian JIRA (v6.3.4#6332)