Skip to content

Instantly share code, notes, and snippets.

@RaschidJFR
Created June 3, 2018 19:44
Show Gist options
  • Save RaschidJFR/a0dfca919f985f0010846fcff431ca4b to your computer and use it in GitHub Desktop.
Save RaschidJFR/a0dfca919f985f0010846fcff431ca4b to your computer and use it in GitHub Desktop.
Ionic `configs.xml` splashscreen preferences for low-end android devices.
<!--
Some low-end android devices are too slow thus take too long to load the app,
which causes throwing error "can't load index.html".
Just add these settings after <preference name="SplashScreen" value="screen" /> in config.xml.
-->
<preference name="SplashScreenDelay" value="3000" />
<preference name="AutoHideSplashScreen" value="false" />
<preference name="ShowSplashScreenSpinner" value="true" />
<preference name="loadUrlTimeoutValue" value="700000" />
<!--
Just before <platform name="android">
-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment