White screen on app start


#1

Hi,

My app is reasonably large (about 50 forms) and uses PhoneGap.

Each time the app loads, there is about 11 seconds of completely white screen before the first form shows.
I added a splashscreen and this works (only first time app loads) but there is still this delay of white screen.

Are there any workarounds or suggestions to fix this?
Each time it runs, it is almost like there is an error than after about 11 seconds, it comes to life.

Thanks


#2

did you try with
preference name=“SplashScreenDelay” value=“10000” /
for example?


#3

Thanks for your reply.

I tried your suggestion and it works fine the first time the app is loaded.
However, when the app is then reopened, it only shows the white screen, and not the splashscreen.
Is there a way to always make the splashscreen show when the app is opened?

Thanks


#4

I was able to overcome the issue of the app only loading on initial launch by adding:

<preference name="SplashShowOnlyFirstTime" value="false" />

to the config.xml file.


#5

yes, correct!
glad you solved


#6

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.