You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Jan Piotrowski (Sujan) (JIRA)" <ji...@apache.org> on 2018/01/22 22:02:00 UTC

[jira] [Commented] (CB-10068) Reference to the underlying WebView/Browser Widget

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

Jan Piotrowski (Sujan) commented on CB-10068:
---------------------------------------------

The template for the native app can be found here:
https://github.com/apache/cordova-windows/tree/master/template
There is nothing else afaik. A `StartPage` is set to `www/index.html` in the appxmanifest, which is the first site that is loaded.

> Reference to the underlying WebView/Browser Widget
> --------------------------------------------------
>
>                 Key: CB-10068
>                 URL: https://issues.apache.org/jira/browse/CB-10068
>             Project: Apache Cordova
>          Issue Type: New Feature
>          Components: cordova-windows
>    Affects Versions: 3.7.1
>            Reporter: Swaroop
>            Priority: Major
>
> Is there anyway to get the underlying WebView reference in the case of Windows 8.1 Cordova? Having this will be useful to do a 
> What I am attempting is this
> 1) Download a ZIP of application bundle (html, css, js)
> 2) Extract to a data directory
> 3) Document.location "absolute path to data directory/index.html"
> This doesn't work and fails with the error 
> "The application can't use script to load the URL because the URL launches another application. Only direct user interaction can launch another application". 
> If there is a way to do a native Handle to call a NavigateToURL/Page API, then there is a chance to bypass this error.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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