android - Single image launch screen implementation for cordova hybrid app -


i have gone through splash doc https://github.com/apache/cordova-plugin-splashscreen#single-image-launch-screen here using single image of 2732x2732px show splashes on devices.

in android platform section, have specified below line in config.xml

<splash src="www/images/test.png" /> 

i have added preference splashscreen

<preference name="splashscreen" value="screen" /> <preference name="autohidesplashscreen" value="true" /> <preference name="splashmaintainaspectratio" value="true" /> 

but not working. app getting crashed when try open app . when add splashes densities works referred in https://stackoverflow.com/a/36045485/4677062. whereas documentation tells can done using single image adding 1 splash config , not density images specified in above link.


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -