Apache Cordova SplashScreen Change

A few days ago I began to notice something odd with my Apache Cordova tests. When the application would launch, the splash screen would fade away as opposed to just disappearing. I thought this seemed familiar so I double checked the Apache Cordova blog and re-read the last plugins release post. I had read it when it was published, but not terribly closely. In it, it mentions that the SplashScreen plugin was updated to 3.1.0. In the notes, you can see "Implementing FadeSplashScreen feature for Android" and something similar for iOS.

If you head over to the SplashScreen plugin doc though, this update isn't mentioned in the main Preferences section. Rather, you have to scroll down to "Android and iOS Quirks" to see that both a FadeSplashScreen and FadeSplashScreenDuration preference were added. (I've logged a bug about documenting this up in the top preferences section.)

As the docs say - the default is true, so if for some reason you don't like this new behavior, you'll need to add this to your config.xml:


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

Want to see what this new feature looks like in action? Check out the video I created.

Like This?

If you like this article, please consider visiting my Amazon Wishlist or donating via PayPal to show your support. You can also subscribe to the email feed to get notified of new posts.

Want to read more like this?