You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Carlos Santana (JIRA)" <ji...@apache.org> on 2013/08/24 06:07:53 UTC

[jira] [Created] (CB-4659) WP8 can't specify a starting page in cordova App hardcoded to www/index.html

Carlos Santana created CB-4659:
----------------------------------

             Summary: WP8 can't specify a starting page in cordova App hardcoded to www/index.html
                 Key: CB-4659
                 URL: https://issues.apache.org/jira/browse/CB-4659
             Project: Apache Cordova
          Issue Type: Bug
          Components: WP8
    Affects Versions: 3.0.0, Master, 3.1.0
            Reporter: Carlos Santana
            Assignee: Jesse MacFadyen
            Priority: Blocker


A developer should be able to point to a file path inside www/
to point to a custom html file and not use the default index.html
like this:
<content src="MyApp.html" />

According to the widget spec dev should be able to specify custom file.
Other platforms android, and ios are using this value and working.

When this value is used in windows phone 8 config.xml it brakes.

Cordova tries to load 'MyApp.html/www/index.html'


Sample config.xml:
<?xml version='1.0' encoding='utf-8'?>
<widget id="io.cordova.hellocordova" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">

    <content src="MyApp.html" />
    <access origin="*" />
</widget>

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira