1

我有一个使用外部 URL 创建的 MVC5 Web 应用程序。基本上我想使用 webview 方法来加载这个外部 URL 并利用推送通知等。

我无法让应用程序运行外部 URL。我已经更改了<content src="www.mydomain.com/Account/Login" />配置文件中的。应用程序无法调试并出现错误Error DEP10402: Could not locate the start page. You may need to build your project.

任何方向将不胜感激。

编辑 这是我的配置,ps:在 http:// 即 [ http://]周围添加方括号以进行堆栈溢出以允许编辑

<?xml version="1.0" encoding="utf-8"?>
<widget id="TTL" version="0.0.1" xmlns="[http://]www.w3.org/ns/widgets" xmlns:cdv="[http://]cordova.apache.org/ns/1.0">
  <name>Toptipsterleagues</name>
  <description>
        A sample Apache Cordova application that responds to the deviceready event.
    </description>
  <author email="dev@cordova.apache.org" href="http://cordova.io">
        Apache Cordova Team
    </author>
  <content src="[http://]www.myDomain.com/Account/Login" />
  <plugin name="cordova-plugin-whitelist" version="1" />
  <allow-intent href="tel:*" />
  <allow-intent href="sms:*" />
  <allow-intent href="mailto:*" />
  <allow-intent href="geo:*" />
  <platform name="android">
    <allow-intent href="market:*" />
    <access hap-rule="yes" origin="[http://]www.myDomain.com/Account/Login" />
    <allow-navigation hap-rule="yes" href="[http://]www.myDomain/Account/Login" />
  </platform>
  <platform name="ios">
    <allow-intent href="itms:*" />
    <allow-intent href="itms-apps:*" />
    <access hap-rule="yes" origin="[http://]www.myDomain.com/Account/Login" />
  </platform>
  <preference name="Orientation" value="default" />
  <preference name="Fullscreen" value="true" />
  <platform name="windows">
  </platform>
  <platform name="wp8">
  </platform>
  <plugin name="cordova-plugin-network-information" version="1.2.1" />
  <vs:platformSpecificValues xmlns:vs="http://schemas.microsoft.com/appx/2014/htmlapps">
    <vs:platformSpecificWidget id="TTL" platformName="windows">
      <vs:name>TTL</vs:name>
    </vs:platformSpecificWidget>
  </vs:platformSpecificValues>
  <preference name="WindowsStoreDisplayName" value="TTL" />
</widget>
4

0 回答 0