Use GIF images for the app's Splash Screen


Guest

Hi David / Hi All,

Just a small question as I couldn't find a solution for this over the support forum.

I need to add GIF Animation image as Splash screen. However when I browse and try to find a image it lets me select only PNG images.

Please asvide how can I use GIF images for Splash Screen.

Thank you,
Lanka


DecSoft

Hello Lanka,

I am not quite sure if GIF images can be used for the app's splash screens, probably not. In Android, for example, the splash screen appear cover all the screen and certain spinner (provided by the system) is show until the app is finally loaded.



Guest

Thanks David for your reply. I thought GIF animation (loading) can use as splash screen. Thanks for reply again.


DecSoft

Hello Lanka,

Thanks David for your reply. I thought GIF animation (loading) can use as splash screen. Thanks for reply again.

According to the Cordova documentation we must use PNG images for all platforms. Maybe a possible solution, if you certainly wanted, is to do not use the splash screen plugin, and, show the GIF image in your first app's view. You can start a Timer in that view, and, after a couple of seconds, show other of your app's view. In few words: simulate the splash screen by yourself using an specific app's view.

That can work, however, they works in a different way than the splash screen plugin, because in this case the splash screen is shown before the application is loaded, and, if you use an app's view to act like an splash screen, the application must be loaded before. Anyway you can try it and see if they can be useful for you.



Guest

Hi David,

Sure. I will follow your guide and see. I will let you know what happen.


DecSoft

Hello Lanka,

Hi David,

Sure. I will follow your guide and see. I will let you know what happen.

My vote is for the splash screen plugin (I can see it working on certain application here in Android and they works like a charm), however, one possible advantage if we do not use that plugin (and simulate the splash screen with an app's view) is our application no need the plugin, so they can run in a browser and act in a similar way than other platforms.

But again one thing is the splash screen provided by the Cordova's plugin and other thing is our possible simulation. You decide! :)


Everybody can read the DecSoft support forum for learning purposes, however only DecSoft customers can post new threads. Purchase one or more licenses of some DecSoft products in order to give this and other benefits.

This website uses some useful cookies to store your preferences.

I agree. Hide this note. Give me more information.