使用文件传输插件时,启动画面插件无法正常工作

时间:2015-03-03 06:36:35

标签: cordova windows-phone-8 hybrid-mobile-app

我希望显示启动画面,直到我的初始加载完成,但它无法正常启动并立即启动

我的代码:

  <name>BlankCordovaApp3</name>
  <description>A blank project</description>
  <author href="http://cordova.io" email="dev@cordova.apache.org">Apache Cordova Team </author>`enter code here`
  <content src="index.html" />
  <access origin="*" />
  <preference name="AutoHideSplashScreen" value="false" />
  <preference name="SplashScreen" value="screen" />
  <preference name="windows-target-version" value="8.0" />
  <preference name="windows-phone-target-version" value="8.1" />
  <vs:plugin name="org.apache.cordova.file-transfer" version="0.4.6" />
  <vs:plugin name="org.apache.cordova.splashscreen" version="0.3.3" />
  <vs:platformSpecificValues />
</widget>

PS:令我惊讶的是,如果我删除代码下面的文件传输插件按预期工作,它工作正常:

  <name>BlankCordovaApp3</name>
  <description>A blank project</description>
  <author href="http://cordova.io" email="dev@cordova.apache.org">Apache Cordova Team </author>
  <content src="index.html" />
  <access origin="*" />
  <preference name="AutoHideSplashScreen" value="false" />
  <preference name="SplashScreen" value="screen" />
  <preference name="windows-target-version" value="8.0" />
  <preference name="windows-phone-target-version" value="8.1" />
  <vs:plugin name="org.apache.cordova.splashscreen" version="0.3.3" />
  <vs:platformSpecificValues />
</widget>

0 个答案:

没有答案