Ionic add splashscreen Invalid

Q1: why ? if ionic add the crosswalk, and cordova add plugs org.apache.cordova.splashscreen the splashscreen is Invalid(do not show)?

Q2: why cordova.splashscreen methods Invalid ? ( not add crosswalk )

like this

.run(function ($ionicPlatform) {

    $ionicPlatform.ready(function () {
        // Hide the accessory bar by default (remove this to show the accessory bar above the keyboard
        // for form inputs)

        if (window.cordova && window.cordova.plugins.Keyboard) {
         cordova.plugins.Keyboard.hideKeyboardAccessoryBar(true);
            navigator.splashscreen.hide();
        }
        if (window.StatusBar) {
            // org.apache.cordova.statusbar required
          StatusBar.styleDefault();
            alert("end");

        }

        
    });

    
})

preference name=“SplashScreenDelay” value="1000"
preference name=“AutoHideSplashScreen” value=“false”

the methods navigator.splashscreen.hide() is Invalid

How to do let splashscreen.hide on device or ionicPlatform is ready ?