android - Splash Screen not displaying with PhoneGap Build -
When I load my application, I have not displayed the splash screen set. Here is my I have also tried: With the splash screen titled "Splash" and with no luck in the index folder in root folder are shaped as splash screen: How to make someone Can a recommendation in fix this problem? I'm not wrapping this app locally, using the strict Phone Gap build I compared some project to me, I implemented it in my and this plugin Try it out and feed me back config.xml file:
& lt ;? XML version = "1.0" encoding = "UTF-8"? & Gt; & Lt; Widget xmlns = "http://www.w3.org/ns/widgets" xmlns: difference = "http://phonegap.com/ns/1.0" id = "com.Mobile.test" versionCode = "" version = "1.0" & gt; & Lt; Name & gt; Mobile & lt; / Name & gt; & Lt; Description & gt; & Lt; / Description & gt; & Lt; Author href = "www.mobile.net" email = "editor@mobile.net" & gt; SMD & lt; / Author & gt; & Lt; Preference name = "phonegap-version" value = "3.1.0" /> & Lt; Priority name = "orientation" value = "default" /> & Lt; Priority name = "fullscreen" value = "wrong" /> & Lt; Priority name = "target-device" value = "universal" /> & Lt; Priority name = "webview" value = "true" /> & lt; Preference name = "preorder-icon" value = "true" /> & Lt; Priority name = "live-in-webview" value = "true" /> & Lt; Priority name = "ios-statusbarstyle" value = "default" /> & Lt; Preference name = "address-data-type" value = "true" /> & Lt; Priority Name = "Exit-Suspended" value = "False" /> & Lt; Priority name = "show-splash-screen-spinner" value = "true" /> & Lt; Preference name = "auto-hide-splash-screen" value = "true" /> & Lt; Priority name = "EnableViewportScale" value = "true" /> & Lt; Preference name = "mediaplayback user user acer action" value = "wrong" /> & Lt; Preference name = "allowline media playback" value = "wrong" /> & Lt; Priority name = "backup viberstorage" value = "cloud" /> & Lt; Preference name = "topactivity indicator" value = "gray" /> & Lt; Priority name = "KeyboardSpellSearchSection" value = "False" /> & Lt; Priority name = "HideboardboardFormAccessoryBar" value = "false" /> & Lt; Priority name = "suppressing sequencing" value = "false" /> & Lt; Priority name = "android-minSdkVersion" value = "7" /> & Lt; Priority Name = "android-installLocation" value = "Internal Only" /> & Lt; Priority name = "splash screen removal" value = "5000" /> & Lt; Priority name = "error url" value = "" /> & Lt; Priority name = "background-keyer" value = "0x000000" /> & Lt; Priority name = "KeepRunning" value = "true" /> & Lt; Preference name = "reject overscroll" value = "wrong" /> & Lt; Priority name = "loading delog" value = "," /> & Lt; Favorite name = "LoadUrlTimeoutValue" value = "20000" /> & Lt; Priority name = "disabled-cursor" value = "wrong" /> & Lt; Gap: platform name = "Android" /> & Lt; Gap: plugin name = "org.apache.cordova.geolocation" /> & Lt; Gap: plugin name = "org.apache.cordova.inappbrowser" /> & Lt; Gap: plugin name = "org.apache.cordova.splashscreen" /> & Lt; Gap: splash src = "img / splash / android / ldpi.png" inter: platform = "android" difference: density = "ldpi" /> & Lt; Gap: splash src = "img / splash / android / mdpi.png" difference: platform = "Android" difference: density = "MDPI" /> & Lt; Gap: splash src = "img / splash / android / hdpi.png" inter: platform = "android" difference: density = "hdpi" /> & Lt; / Widgets & gt;
& lt; Gap: splash src = "splash.png" />
LDPI: Portrait: 200x320px Landscape: 320x200px MDPI: Portrait: 320x480px Landscape: 480x320px HDPI: Portrait: 480x800px Landscape: 800x480px
with the splash screen config.xml I found you missing this line:
& lt; Priority name = "splash-screen-duration" value = "6000" />
& lt; Plugin name = "SplashScreen" value = "org.apache.cordova.splashScreen" />
Comments
Post a Comment