首页
\
问答
\
在phonegap版本cli 5.2.0上构建后,不会显示启动画面(Splash screen is not display after build on phonegap version cli 5.2.0)
在phonegap版本cli 5.2.0上构建后,不会显示启动画面(Splash screen is not display after build on phonegap version cli 5.2.0)
我已经为phonegap应用程序制作了启动画面,但升级后我的启动画面不显示我在cofig文件中编写的代码如下所示,我也根据phonegap启动画面文档添加了屏幕。 我还在项目中添加了默认屏幕图像。
<widget xmlns="http://www.w3.org/ns/widgets" xmlns:gap="http://phonegap.com/ns/1.0" id="com.abc.mobileapp" version="1.0.0" versionCode = "10"> <name>abc</name> <description></description> <author email="admin@abc.com">abc</author> <content src="abc.html"/> <preference name='phonegap-version'/> <preference name="permissions" value="none"/> <preference name="orientation" value="default"/> <preference name="target-device" value="universal"/> <preference name="fullscreen" value="false"/> <preference name="webviewbounce" value="true"/> <preference name="prerendered-icon" value="true"/> <preference name="stay-in-webview" value="false"/> <preference name="ios-statusbarstyle" value="black-opaque"/> <preference name="detect-data-types" value="true"/> <preference name="exit-on-suspend" value="false"/> <preference name="show-splash-screen-spinner" value="true"/> <preference name="auto-hide-splash-screen" value="true"/> <preference name="disable-cursor" value="false"/> <preference name="android-minSdkVersion" value="14"/> <preference name="android-installLocation" value="auto"/> <!--<preference name="SplashScreen" value="screen" />--> <preference name="SplashScreenDelay" value="5000" /> <!--<preference name="splash-screen-duration" value="6000" />--> <!--<gap:plugin name="org.apache.cordova.battery-status"/> <gap:plugin name="org.apache.cordova.camera"/> <gap:plugin name="org.apache.cordova.media-capture"/> <gap:plugin name="org.apache.cordova.console"/> <gap:plugin name="org.apache.cordova.contacts"/> <gap:plugin name="org.apache.cordova.device"/> <gap:plugin name="org.apache.cordova.device-motion"/> <gap:plugin name="org.apache.cordova.device-orientation"/> <gap:plugin name="org.apache.cordova.dialogs"/> <gap:plugin name="org.apache.cordova.file"/> <gap:plugin name="org.apache.cordova.file-transfer"/> <gap:plugin name="org.apache.cordova.geolocation"/> <gap:plugin name="org.apache.cordova.globalization"/>--> <gap:plugin name="org.apache.cordova.device" source="npm"/> <gap:plugin name="cordova-plugin-inappbrowser" source="npm" /> <gap:plugin name="nl.x-services.plugins.socialsharing" source="plugins.cordova.io" /> <gap:plugin name="org.apache.cordova.network-information" version="0.2.12" source="npm"/> <gap:plugin name="org.apache.cordova.splashscreen" version="0.3.4" source="npm" /> <gap:plugin name="org.apache.cordova.vibration" version="0.3.11" source="npm"/> <gap:plugin name="com.phonegap.plugins.facebookconnect" version="0.9.0"> <param name="APP_ID" value="0000000000000000" /> <param name="APP_NAME" value="abc" /> </gap:plugin> <!-- Third party plugins --> <!-- A list of available plugins are available at https://build.phonegap.com/plugins --> <!--<gap:plugin name="com.phonegap.plugins.barcodescanner" />--> <!--https://github.com/EddyVerbruggen/Toast-PhoneGap-Plugin/blob/2fdfde7/README.md <gap:plugin name="nl.x-services.plugins.toast" version="2.0.2" />--> <icon src="icon.png"/> <icon src="res/icon/android/icon-36-ldpi.png" gap:platform="android" gap:qualifier="ldpi"/> <icon src="res/icon/android/icon-48-mdpi.png" gap:platform="android" gap:qualifier="mdpi"/> <icon src="res/icon/android/icon-72-hdpi.png" gap:platform="android" gap:qualifier="hdpi"/> <icon src="res/icon/android/icon-96-xhdpi.png" gap:platform="android" gap:qualifier="xhdpi"/> <icon src="res/icon/blackberry/icon-80.png" gap:platform="blackberry"/> <icon src="res/icon/blackberry/icon-80.png" gap:platform="blackberry" gap:state="hover"/> <icon src="res/icon/ios/icon-57.png" gap:platform="ios" width="57" height="57"/> <icon src="res/icon/ios/icon-72.png" gap:platform="ios" width="72" height="72"/> <icon src="res/icon/ios/icon-57-2x.png" gap:platform="ios" width="114" height="114"/> <icon src="res/icon/ios/icon-72-2x.png" gap:platform="ios" width="144" height="144"/> <icon src="res/icon/webos/icon-64.png" gap:platform="webos"/> <icon src="res/icon/windows-phone/icon-48.png" gap:platform="winphone"/> <icon src="res/icon/windows-phone/icon-173-tile.png" gap:platform="winphone" gap:role="background"/> <gap:splash src="res/screen/default.png" /> <gap:splash src="res/screen/android/screen-ldpi-portrait.png" gap:platform="android" gap:qualifier="port-ldpi"/> <gap:splash src="res/screen/android/screen-mdpi-portrait.png" gap:platform="android" gap:qualifier="port-mdpi"/> <gap:splash src="res/screen/android/screen-hdpi-portrait.png" gap:platform="android" gap:qualifier="port-hdpi"/> <gap:splash src="res/screen/android/screen-xhdpi-portrait.png" gap:platform="android" gap:qualifier="port-xhdpi"/> <gap:splash src="res/screen/blackberry/screen-225.png" gap:platform="blackberry"/> <gap:splash src="res/screen/ios/screen-iphone-portrait.png" gap:platform="ios" width="320" height="480"/> <gap:splash src="res/screen/ios/screen-iphone-portrait-2x.png" gap:platform="ios" width="640" height="960"/> <gap:splash src="res/screen/ios/screen-iphone-portrait-568h-2x.png" gap:platform="ios" width="640" height="1136"/> <gap:splash src="res/screen/ios/screen-ipad-portrait.png" gap:platform="ios" width="768" height="1024"/> <gap:splash src="res/screen/ios/screen-ipad-landscape.png" gap:platform="ios" width="1024" height="768"/> <gap:splash src="res/screen/windows-phone/screen-portrait.jpg" gap:platform="winphone"/> <access origin="*"/> <!--<access origin="*xitstage-001-site3.mysitepanel.net"/>--> <gap:plugin name="cordova-plugin-whitelist" version="1" source="npm"/> <allow-intent href="http://*/*"/> <allow-intent href="https://*/*"/> <allow-intent href="tel:*"/> <allow-intent href="sms:*"/> <allow-intent href="mailto:*"/> <allow-intent href="geo:*"/> <platform name="android"> <allow-intent href="market:*"/> </platform> <platform name="ios"> <allow-intent href="itms:*"/> <allow-intent href="itms-apps:*"/> </platform> </widget>
我与phonegap应用程序的upgarde有什么变化。
I have made splash screen for phonegap application but after upgrade my splash screen is not display i have written code in cofig file is as below and also i have added screen as per phonegap splash screen documentation. and also i have added default screen image in project.
<widget xmlns="http://www.w3.org/ns/widgets" xmlns:gap="http://phonegap.com/ns/1.0" id="com.abc.mobileapp" version="1.0.0" versionCode = "10"> <name>abc</name> <description></description> <author email="admin@abc.com">abc</author> <content src="abc.html"/> <preference name='phonegap-version'/> <preference name="permissions" value="none"/> <preference name="orientation" value="default"/> <preference name="target-device" value="universal"/> <preference name="fullscreen" value="false"/> <preference name="webviewbounce" value="true"/> <preference name="prerendered-icon" value="true"/> <preference name="stay-in-webview" value="false"/> <preference name="ios-statusbarstyle" value="black-opaque"/> <preference name="detect-data-types" value="true"/> <preference name="exit-on-suspend" value="false"/> <preference name="show-splash-screen-spinner" value="true"/> <preference name="auto-hide-splash-screen" value="true"/> <preference name="disable-cursor" value="false"/> <preference name="android-minSdkVersion" value="14"/> <preference name="android-installLocation" value="auto"/> <!--<preference name="SplashScreen" value="screen" />--> <preference name="SplashScreenDelay" value="5000" /> <!--<preference name="splash-screen-duration" value="6000" />--> <!--<gap:plugin name="org.apache.cordova.battery-status"/> <gap:plugin name="org.apache.cordova.camera"/> <gap:plugin name="org.apache.cordova.media-capture"/> <gap:plugin name="org.apache.cordova.console"/> <gap:plugin name="org.apache.cordova.contacts"/> <gap:plugin name="org.apache.cordova.device"/> <gap:plugin name="org.apache.cordova.device-motion"/> <gap:plugin name="org.apache.cordova.device-orientation"/> <gap:plugin name="org.apache.cordova.dialogs"/> <gap:plugin name="org.apache.cordova.file"/> <gap:plugin name="org.apache.cordova.file-transfer"/> <gap:plugin name="org.apache.cordova.geolocation"/> <gap:plugin name="org.apache.cordova.globalization"/>--> <gap:plugin name="org.apache.cordova.device" source="npm"/> <gap:plugin name="cordova-plugin-inappbrowser" source="npm" /> <gap:plugin name="nl.x-services.plugins.socialsharing" source="plugins.cordova.io" /> <gap:plugin name="org.apache.cordova.network-information" version="0.2.12" source="npm"/> <gap:plugin name="org.apache.cordova.splashscreen" version="0.3.4" source="npm" /> <gap:plugin name="org.apache.cordova.vibration" version="0.3.11" source="npm"/> <gap:plugin name="com.phonegap.plugins.facebookconnect" version="0.9.0"> <param name="APP_ID" value="0000000000000000" /> <param name="APP_NAME" value="abc" /> </gap:plugin> <!-- Third party plugins --> <!-- A list of available plugins are available at https://build.phonegap.com/plugins --> <!--<gap:plugin name="com.phonegap.plugins.barcodescanner" />--> <!--https://github.com/EddyVerbruggen/Toast-PhoneGap-Plugin/blob/2fdfde7/README.md <gap:plugin name="nl.x-services.plugins.toast" version="2.0.2" />--> <icon src="icon.png"/> <icon src="res/icon/android/icon-36-ldpi.png" gap:platform="android" gap:qualifier="ldpi"/> <icon src="res/icon/android/icon-48-mdpi.png" gap:platform="android" gap:qualifier="mdpi"/> <icon src="res/icon/android/icon-72-hdpi.png" gap:platform="android" gap:qualifier="hdpi"/> <icon src="res/icon/android/icon-96-xhdpi.png" gap:platform="android" gap:qualifier="xhdpi"/> <icon src="res/icon/blackberry/icon-80.png" gap:platform="blackberry"/> <icon src="res/icon/blackberry/icon-80.png" gap:platform="blackberry" gap:state="hover"/> <icon src="res/icon/ios/icon-57.png" gap:platform="ios" width="57" height="57"/> <icon src="res/icon/ios/icon-72.png" gap:platform="ios" width="72" height="72"/> <icon src="res/icon/ios/icon-57-2x.png" gap:platform="ios" width="114" height="114"/> <icon src="res/icon/ios/icon-72-2x.png" gap:platform="ios" width="144" height="144"/> <icon src="res/icon/webos/icon-64.png" gap:platform="webos"/> <icon src="res/icon/windows-phone/icon-48.png" gap:platform="winphone"/> <icon src="res/icon/windows-phone/icon-173-tile.png" gap:platform="winphone" gap:role="background"/> <gap:splash src="res/screen/default.png" /> <gap:splash src="res/screen/android/screen-ldpi-portrait.png" gap:platform="android" gap:qualifier="port-ldpi"/> <gap:splash src="res/screen/android/screen-mdpi-portrait.png" gap:platform="android" gap:qualifier="port-mdpi"/> <gap:splash src="res/screen/android/screen-hdpi-portrait.png" gap:platform="android" gap:qualifier="port-hdpi"/> <gap:splash src="res/screen/android/screen-xhdpi-portrait.png" gap:platform="android" gap:qualifier="port-xhdpi"/> <gap:splash src="res/screen/blackberry/screen-225.png" gap:platform="blackberry"/> <gap:splash src="res/screen/ios/screen-iphone-portrait.png" gap:platform="ios" width="320" height="480"/> <gap:splash src="res/screen/ios/screen-iphone-portrait-2x.png" gap:platform="ios" width="640" height="960"/> <gap:splash src="res/screen/ios/screen-iphone-portrait-568h-2x.png" gap:platform="ios" width="640" height="1136"/> <gap:splash src="res/screen/ios/screen-ipad-portrait.png" gap:platform="ios" width="768" height="1024"/> <gap:splash src="res/screen/ios/screen-ipad-landscape.png" gap:platform="ios" width="1024" height="768"/> <gap:splash src="res/screen/windows-phone/screen-portrait.jpg" gap:platform="winphone"/> <access origin="*"/> <!--<access origin="*xitstage-001-site3.mysitepanel.net"/>--> <gap:plugin name="cordova-plugin-whitelist" version="1" source="npm"/> <allow-intent href="http://*/*"/> <allow-intent href="https://*/*"/> <allow-intent href="tel:*"/> <allow-intent href="sms:*"/> <allow-intent href="mailto:*"/> <allow-intent href="geo:*"/> <platform name="android"> <allow-intent href="market:*"/> </platform> <platform name="ios"> <allow-intent href="itms:*"/> <allow-intent href="itms-apps:*"/> </platform> </widget>
What changeset i have to do with upgarde of phonegap application.
原文:https://stackoverflow.com/questions/33053190
更新时间:2022-06-21 07:06
最满意答案
其他回答
现在是富士康一年当中比较忙的季节,刚进一个月能拿3000多点吧。具体还是看加班多少为准。上班时间八小时,加班两小时。每周实行六休一制,工作基本都是手上活,不是太累,相对简单也比较无聊。厂区招聘都是直招,不收取任何费用,希望帮到你!
相关问答
更多-
郫县学计算机一个月多少钱[2023-05-02]
学电脑可以来江西新华电脑学校的呢!现在我们学校有免学费政策的哦 -
富士康哪里的离兰州最近[2022-12-23]
-
富士康企业招工要求?[2022-03-29]
主要是看你应聘的 职位类型 -
电脑信息管理现在多少钱一个月?[2021-06-06]
看在什么地方,一般这个专业刚开始出来没的什么钱图,主要是一般公司的信息管理制度不完善,小公司没的什么前景!但是混几年有了经验,到大公司去做CIO,那就有前途了! 顺便说下,我是应届毕业生,工资2000多点,不过是在很小的县城! -
花呗欠200逾期一个月需要多少钱利息[2022-04-06]
一天按5/万计息 200元一天利息 =本金*日利率 =200*5/10000 =0.1元 从你哪天刷的花呗起算天数 烦请采na下 -
失业金多少钱一个月[2021-12-21]
失业金的标准按失业前12个月平均缴费工资的40%确定,最高不超过当地最高工资标准,最低不得低于当地城市居民最低生活标准。例如:江苏区职工2013年平均缴费工资为1583元,那么职工失业后平均每个月可领取1583*40%=633.2元; 失业金的领取期限:缴费时间满一年不满五年的,领取失业保险金最长为12个月;累计缴费时间满五年不满十年的,最长领取时间为18个月;缴费十年以上的,领取失业金最长为24个月; -
富士康有多少钱一个月[2023-10-10]
富士康的工资一般是由底薪+加班费+补贴组成,富士康在我国西部园区底薪普遍都在1800元以上,东部地区底薪2200元以上,综合工资在3000-4500元之间。看你想进哪个富士康园区,可以提前了解一下该园区的招聘情况。 -
学散打多少钱一个月[2023-09-23]
200左右把 -
高铁乘务一个月多少钱?[2024-03-07]
高铁乘务员工资在5000左右 -
富士康普工多少钱一个月[2023-08-24]
这个要看地区了,底薪一般来说会比规定的最低工作标准高一点,拿深圳来说,深圳市最低工资标准2200,深圳富士康底薪2220,转正后底薪2550,加班非常规范,超过5天八小时的全部都算加班工资,会依法支付加班费,而且会购买五险一金,平日加班1.5倍,周末加班2倍,法定节假日加班3倍。一般忙的时候加班时数会很多,加班时数120H的话6000左右吧,不忙的时候另说,没有加班只有底薪。。。。