Software Archive
Read-only legacy content
17061 Discussions

Splash screen in IOS hides very quickly

Ulises_V_
Beginner
749 Views

Hi, I have developed an IOS app and it works correctly in the iphone. The splash screen appears but it dissapears very quickly (less than half second).

I have been looking for in the config.xml files in the intel xdk but all I have tried doesn't work. I have also test with the code:

navigator.splashscreen.show();

but nothing happens.

Is possible to modify the time of the splash screen?

 

Thanks

(The target of the app is IOS 5.1.1 and the iphone is IOS 9)

 

0 Kudos
9 Replies
PaulF_IntelCorp
Employee
749 Views

See this doc page, especially the bit at the bottom:

In the Intel XDK, references to the "config.xml" file correspond to the "intelxdk.config.additions.xml" file (which is a simplified version of the Cordova config.xml file).

0 Kudos
Ulises_V_
Beginner
749 Views

Thanks very much Paul, this forum has saved me again!

I write here the solution for future users:

1. Download the cordova-plugin-splashscreen plugin via Intel XDK.

2. Add, in the file intelxdk.config.additions.xml, the following code:

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

3. Done!

0 Kudos
PaulF_IntelCorp
Employee
749 Views

@MATRIX -- are you trying to install the intel.xdk.device plugin or the core Cordova plugin?

Also, are you using a Windows machine? If so, are your projects installed on a drive other than C:?

0 Kudos
MATRIX_R_
Beginner
749 Views

Paul F. (Intel) wrote:

@MATRIX -- are you trying to install the intel.xdk.device plugin or the core Cordova plugin?

Also, are you using a Windows machine? If so, are your projects installed on a drive other than C:?

i'm using the core plugin with cli 5.1.1

and yes my project are on c

0 Kudos
PaulF_IntelCorp
Employee
749 Views

Are you building for Crosswalk or Android or ???

0 Kudos
MATRIX_R_
Beginner
749 Views

crosswalk

0 Kudos
PaulF_IntelCorp
Employee
749 Views

What happens if you try to build for Android? Still fails? Any additional error messages if it does fail?

0 Kudos
Amrita_C_Intel
Employee
749 Views

please refer this https://software.intel.com/en-us/forums/intel-xdk/topic/563475

0 Kudos
Ian_Ippolito
Beginner
749 Views

Ulises V. wrote:

Thanks very much Paul, this forum has saved me again!

I write here the solution for future users:

1. Download the cordova-plugin-splashscreen plugin via Intel XDK.

2. Add, in the file intelxdk.config.additions.xml, the following code:

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

3. Done!

 

Thanks so much for the summary, you are a lifesaver as well as Paul!

Ian Ippolito

0 Kudos
Reply