cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "DotNetWise (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CB-7539) [WKWebView][iOS 8] Use local webserver option to load local HTML file from www
Date Mon, 16 Mar 2015 20:32:38 GMT

    [ https://issues.apache.org/jira/browse/CB-7539?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14363855#comment-14363855
] 

DotNetWise edited comment on CB-7539 at 3/16/15 8:32 PM:
---------------------------------------------------------

Locally, I haven't got so far yet, but I think won't work - since meteor is using it's own
mappings and starting the app via `http://meteor.local`
I think this will clash with your own local server

Since, from meteor we won't be on the file:/// protocol is there a way we can avoid the usage
of the local server? 

Barely assume the app will itself redirect to a http://meteor.local which is not  (and should
not be) part of this plugin.


was (Author: dotnetwise):
Locally, I haven't got so far yet, but I think won't work - since meteor is using it's own
mappings and starting the app via `http://meteor.local`
I think this will clash with your own local server


> [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
>            Assignee: 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 <content> 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)

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


Mime
View raw message