android - PhoneGap SplashScreen doesn't work -


today hava lot of trouble splashscreens different resolutions.

my splash part in config.xml:

<gap:splash src="splash_1536x2048_leopold_city.png" gap:platform="ios" width="1536" height="2048" /> <gap:splash src="splash_2048x1536_leopold_city.png" gap:platform="ios" width="2048" height="1536" />  <gap:splash src="splash_320x480_leopold_city.png" gap:platform="ios" width="320" height="480" /> <gap:splash src="splash_480x320_leopold_city.png" gap:platform="ios" width="480" height="320" />  <gap:splash src="splash_640x960_leopold_city.png" gap:platform="ios" width="640" height="960" /> <gap:splash src="splash_960x640_leopold_city.png" gap:platform="ios" width="960" height="640" />  <gap:splash src="splash_640x1136_leopold_city.png" gap:platform="ios" width="640" height="1136" /> <gap:splash src="splash_1136x640_leopold_city.png" gap:platform="ios" width="1136" height="640" />  <gap:splash src="splash_750x1334_leopold_city.png" gap:platform="ios" width="750" height="1334" /> <gap:splash src="splash_1334x1334_leopold_city.png" gap:platform="ios" width="1334" height="750" />  <gap:splash src="splash_1242x2208_leopold_city.png" gap:platform="ios" width="1242" height="2208" /> <gap:splash src="splash_2208x1242_leopold_city.png" gap:platform="ios" width="2208" height="1242" /> 

these png files stored @ root, /splash , res/screen/ios if change path in xml of possible files locations image doesn't load on app start.

if use:

<!--iphone , ipod touch--> <gap:splash src="splash.png" gap:platform="ios" width="320" height="480" /> <gap:splash src="splash.png" gap:platform="ios" width="640" height="960" />  <!-- iphone 5 / ipod touch (5th generation) --> <!--<gap:splash src="default-568h@2x.png" gap:platform="ios" width="640" height="1136" />--> <gap:splash src="splash.png" gap:platform="ios" width="640" height="1136" />  <!-- iphone 6 --> <!--<gap:splash src="default-667h@2x.png" gap:platform="ios" width="750" height="1334" />--> <gap:splash src="splash.png" gap:platform="ios" width="750" height="1334" /> <!--<gap:splash src="default-portrait-736h@3x.png" gap:platform="ios" width="1242" height="2208" />--> <gap:splash src="splash.png" gap:platform="ios" width="1242" height="2208" /> <!--<gap:splash src="default-landscape-736h@3x.png" gap:platform="ios" width="2208" height="1242" />--> <gap:splash src="splash.png" gap:platform="ios" width="2208" height="1242" />  <!--ipad --> <gap:splash src="splash.png" gap:platform="ios" width="768" height="1024" /> <gap:splash src="splash.png" gap:platform="ios" width="1024" height="768" />  <!--retina ipad --> <gap:splash src="splash.png" gap:platform="ios" width="1536" height="2048" /> <gap:splash src="splash.png" gap:platform="ios" width="2048" height="1536" /> 

the default splash displayed. want use different images different resolutions...

please me :-)

please go through follwing link. might helps.

https://github.com/apache/cordova-plugin-splashscreen


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -