Software Archive
Read-only legacy content
Ankündigungen
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
17060 Diskussionen

Splash screen in IOS hides very quickly

Ulises_V_
Einsteiger
1.378Aufrufe

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 Antworten
PaulF_IntelCorp
Mitarbeiter
1.378Aufrufe

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).

Ulises_V_
Einsteiger
1.378Aufrufe

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!

PaulF_IntelCorp
Mitarbeiter
1.378Aufrufe

@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:?

MATRIX_R_
Einsteiger
1.378Aufrufe

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

PaulF_IntelCorp
Mitarbeiter
1.378Aufrufe

Are you building for Crosswalk or Android or ???

MATRIX_R_
Einsteiger
1.378Aufrufe

crosswalk

PaulF_IntelCorp
Mitarbeiter
1.378Aufrufe

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

Amrita_C_Intel
Mitarbeiter
1.378Aufrufe

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

Ian_Ippolito
Einsteiger
1.378Aufrufe

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

Antworten