You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by alanhg <gi...@git.apache.org> on 2017/07/16 13:05:24 UTC

[GitHub] cordova-plugin-splashscreen issue #74: CB-8396 Add AutoHideSplashScreen logi...

Github user alanhg commented on the issue:

    https://github.com/apache/cordova-plugin-splashscreen/pull/74
  
    @daserge 
    I copy your commited file into plugin .
    ```
        <preference name="AutoHideSplashScreen" value="false" />
        <preference name="ShowSplashScreenSpinner" value="false" />
        <preference name="SplashScreenDelay" value="3000" />
        <preference name="FadeSplashScreen" value="false" />
        <preference name="FadeSplashScreenDuration" value="0" />
    ```
    in index.js
    
    ```
     inAppBrowserRef = cordova.InAppBrowser.open(url, target, options);
        inAppBrowserRef.addEventListener('loadstop', loadStopCallBack);
        function loadStopCallBack() {
            if (navigator.splashscreen) {
                //         clearInterval(intervalID);
                //         // We're done initializing, remove the splash screen
                navigator.splashscreen.hide();
                console.warn('Hiding splash screen');
            }
        }
    ```
    when i run app,is not good.
    why?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
For additional commands, e-mail: dev-help@cordova.apache.org