0
votes

We have a Multipage Cordova App for Android and iOS platform.

We have installed a few plugins like:

  • cordova-plugin-network-information 0.2.15
  • cordova-plugin-splashscreen - 2.1.1
  • cordova-plugin-geolocation 0.3.12
  • cordova-plugin-whitelist 1.1.1
  • cordova-plugin-inappbrowser 1.0.2

All plug-ins are working fine on iOS platform. But, in Android cordova-plugin-splashscreen behaviour different. When we open the App, the splash screen is visible that is what the expected behaviour of that plug-in is.

But, when we navigate from one page to other there is a little delay in transition. During this transition the Splash screen is visible and this is very weird behaviour. Can anyone please help in this issue?

Technology stack:

  • Cordova 4.2.0
  • Installed Platform Android 4.0.2
  • iOS 8.2
  • Android 5.1.1
  • API 22 Java 1.7 + Spring for REST API
1

1 Answers

0
votes

A splash-screen appears while your app is loading i.e. it depends on the complexity of the code. If it's running well on your iOS platform but showing up on Android platform - well the device that you are using to test has a slower performance rate? If you are running on simulators, and not devices, then switch over to considering testing on devices.

UPDATE 1: Make sure you have this in your config.xml -

<param name="onload" value="true" />