cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Shakhnazarov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-12353) UWP - splashscreen is not hidden.
Date Tue, 17 Jan 2017 11:43:26 GMT

    [ https://issues.apache.org/jira/browse/CB-12353?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15825915#comment-15825915
] 

Sergey Shakhnazarov commented on CB-12353:
------------------------------------------

[~almost92] it does not reproduce for me - please attach a failing sample project.
I've tried using these steps:
{noformat}
npm i cordova@6.4.0
node node_modules\cordova\bin\cordova create test
cd test
node ..\node_modules\cordova\bin\cordova platform add windows@4.4.3
node ..\node_modules\cordova\bin\cordova plugin add cordova-plugin-splashscreen@4.0.0
{noformat}

Add this to config.xml:
{noformat}
    <preference name="SplashScreen" value="screen" />
    <preference name="AutoHideSplashScreen" value="false" />
    <preference name="ShowSplashScreenSpinner" value="false" />
    <preference name="FadeSplashScreenDuration" value="50" />
    <preference name="SplashShowOnlyFirstTime" value="false" />
    <preference name="windows-target-version" value="10.0" />
{noformat}

Add this to deviceready:
{noformat}
    onDeviceReady: function() {
        this.receivedEvent('deviceready');
        navigator.splashscreen.hide();
    },
{noformat}

{{node ..\node_modules\cordova\bin\cordova run windows -- --phone --device}}

> UWP - splashscreen is not hidden.
> ---------------------------------
>
>                 Key: CB-12353
>                 URL: https://issues.apache.org/jira/browse/CB-12353
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin SplashScreen
>    Affects Versions: 4.0.0, 4.0.1
>         Environment: cordova-windows 4.4.3 , cordova-plugin-splashscreen 4.0.0, Win10
UWP.
>            Reporter: Ali Mustafa
>              Labels: no-repro, triaged, windows
>
> plugin hide() doesn't hide splashscreen in windows phone 10.
> tried updating both cordova-windows to latest master and cordova-plugin-splashscreen
to 4.0.1 and still seeing this.
> following a little debugging I did, it seems like hide() in splashscreen.js function
isn't beeing called and therefore 'hidden' class isn't added to the extendedsplashscreen div.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


Mime
View raw message