Software Archive
Read-only legacy content
17061 Discussions

How do I remove the Intel XDK Product development

charles_o_
Beginner
257 Views

How do I remove this from appearing anytime my app comes up during testing.

0 Kudos
2 Replies
Swati_S_Intel1
Employee
257 Views

You can put your custom splash screen through Projects > Launch Icons and Splash Screens

 

0 Kudos
Anusha_M_Intel1
Employee
257 Views

If you are testing on the emulator, open the "Device and Network Settings" section on the right side panel in emulator tab, there is an option to uncheck "simulate splash screen".

To remove splash screen in the app build, you have add this and call it in device ready:

app.hideSplashScreen = function() {
    "use strict" ;

    // see https://github.com/01org/appframework/blob/master/documentation/detail/%24.ui.launch.md
    // Do the following if you disabled App Framework autolaunch (in index.html, for example)
    // $.ui.launch() ;

    if( navigator.splashscreen && navigator.splashscreen.hide ) {   // Cordova API detected
        navigator.splashscreen.hide() ;
    }
    if( window.intel && intel.xdk && intel.xdk.device ) {           // Intel XDK device API detected, but...
        if( intel.xdk.device.hideSplashScreen )                     // ...hideSplashScreen() is inside the base plugin
            intel.xdk.device.hideSplashScreen() ;
    }
} ;

 

0 Kudos
Reply