cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alanhg <...@git.apache.org>
Subject [GitHub] cordova-plugin-splashscreen issue #74: CB-8396 Add AutoHideSplashScreen logi...
Date Sun, 16 Jul 2017 13:05:24 GMT
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


Mime
View raw message