android - Cordova's splash screen doesn't show -
i building small mobile app using cordova + angularjs, far good. spent whole day trying splash screen show, , failed.
here global config.xml
<preference name="fullscreen" value="true" /> <preference name="webviewbounce" value="false" /> <preference name="disallowoverscroll" value="false"/> <preference name="statusbaroverlayswebview" value="false"/> <preference name="detect-data-types" value="true"/> <preference name="stay-in-webview" value="false"/> <preference name="android-targetsdkversion" value="22"/> <preference name="splashscreen" value="screen" /> <preference name="splashscreendelay" value="10000" /> <preference name="loadingdialog" value="loading, please wait!"/> <platform name="android"> <splash src="www/res/screen.png" density="land-hdpi"/> <splash src="www/res/screen.png" density="land-ldpi"/> <splash src="www/res/screen.png" density="land-mdpi"/> <splash src="www/res/screen.png" density="land-xhdpi"/> <splash src="www/res/screen.png" density="port-hdpi"/> <splash src="www/res/screen.png" density="port-ldpi"/> <splash src="www/res/screen.png" density="port-mdpi"/> <splash src="www/res/screen.png" density="port-xhdpi"/> <splash src="www/res/screen.png" density="hdpi"/> <splash src="www/res/screen.png" density="ldpi"/> <splash src="www/res/screen.png" density="mdpi"/> <splash src="www/res/screen.png" density="xhdpi"/> </platform>
i have installed cordova's splash screen plugin successfully, , path www/res/screen.png
correct , screen.png gets moved /platforms/android/res/drawable-**
folders successfully. tried using navigator.splashscreen.show
, still, screen doesn't show up!
i tried every solution ever posted regarding problem , wont work. way splash screen show using intel xdk build/icons & splash screen options, build process happens @ xdk servers , wanna able hit cordova run/emulate/build android
, see results out xdk middling.
i loosing mind here, appreciated. using corodva 5.0.0, angular 1.4.4, on emulator (intel atom 64), debugging via chrome device inspection tools.
Comments
Post a Comment