#1 2017-07-03 15:12:51

lanka
Banned
Registered: 2017-06-29
Posts: 6

Use GIF images for the app's Splash Screen

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

Offline

#2 2017-07-03 15:20:26

David
Admin
From: Alcobendas, Madrid, Spain
Registered: 2015-04-21
Posts: 1,633
Website

Re: Use GIF images for the app's Splash Screen

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.

Offline

#3 2017-07-03 15:32:59

lanka
Banned
Registered: 2017-06-29
Posts: 6

Re: Use GIF images for the app's Splash Screen

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

Offline

#4 2017-07-03 15:36:00

David
Admin
From: Alcobendas, Madrid, Spain
Registered: 2015-04-21
Posts: 1,633
Website

Re: Use GIF images for the app's Splash Screen

Hello Lanka,

lanka wrote:

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.

Offline

#5 2017-07-03 15:39:38

lanka
Banned
Registered: 2017-06-29
Posts: 6

Re: Use GIF images for the app's Splash Screen

Hi David,

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

Offline

#6 2017-07-03 15:42:12

David
Admin
From: Alcobendas, Madrid, Spain
Registered: 2015-04-21
Posts: 1,633
Website

Re: Use GIF images for the app's Splash Screen

Hello Lanka,

lanka wrote:

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! smile

Offline

Board footer

Powered by FluxBB


Copyright © 2017 DecSoft. All rights reserved.