You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Vladimir Kotikov (JIRA)" <ji...@apache.org> on 2015/12/25 15:53:49 UTC

[jira] [Updated] (CB-9663) StatusBar.show() doesn't work on Windows Phone 8.1

     [ https://issues.apache.org/jira/browse/CB-9663?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vladimir Kotikov updated CB-9663:
---------------------------------
    Description: 
The status bar is not displayed in Windows Phone 8.1 (emulator).

Reproduce as follows:

1. Run the commands:
cordova create test
cd test
cordova platform add windows
cordova plugin add cordova-plugin-statusbar

2. Edit www\js\index.js, add the lines below just after "app.receivedEvent('deviceready');":
{code:javascript}
StatusBar.overlaysWebView(false);
StatusBar.styleDefault();
//StatusBar.backgroundColorByHexString("#C0C0C0");
StatusBar.show();
{code}

3. Run command:
cordova build windows

4. Using VisualStudio (2015), open the platforms\windows\CordovaApp.sln solution and set "CordovaApp.Phone (Windows Phone 8.1)" as the Startup Project. Windows. Then run using "Emulator 8.1 WVGA".

When the CordovaApp has started and "deviceready" has been fired, the status bar is gone.


  was:
The status bar is not displayed in Windows Phone 8.1 (emulator).

Reproduce as follows:

1. Run the commands:
cordova create test
cd test
cordova platform add windows
cordova plugin add cordova-plugin-statusbar

2. Edit www\js\index.js, add the lines below just after "app.receivedEvent('deviceready');":
StatusBar.overlaysWebView(false);
StatusBar.styleDefault();
//StatusBar.backgroundColorByHexString("#C0C0C0");
StatusBar.show();

3. Run command:
cordova build windows

4. Using VisualStudio (2015), open the platforms\windows\CordovaApp.sln solution and set "CordovaApp.Phone (Windows Phone 8.1)" as the Startup Project. Windows. Then run using "Emulator 8.1 WVGA".

When the CordovaApp has started and "deviceready" has been fired, the status bar is gone.



> StatusBar.show() doesn't work on Windows Phone 8.1
> --------------------------------------------------
>
>                 Key: CB-9663
>                 URL: https://issues.apache.org/jira/browse/CB-9663
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Statusbar
>    Affects Versions: 5.3.2
>         Environment: windows@4.1.0 platform, Windows Phone 8.1 device (emulator)
>            Reporter: Christopher Mindus
>
> The status bar is not displayed in Windows Phone 8.1 (emulator).
> Reproduce as follows:
> 1. Run the commands:
> cordova create test
> cd test
> cordova platform add windows
> cordova plugin add cordova-plugin-statusbar
> 2. Edit www\js\index.js, add the lines below just after "app.receivedEvent('deviceready');":
> {code:javascript}
> StatusBar.overlaysWebView(false);
> StatusBar.styleDefault();
> //StatusBar.backgroundColorByHexString("#C0C0C0");
> StatusBar.show();
> {code}
> 3. Run command:
> cordova build windows
> 4. Using VisualStudio (2015), open the platforms\windows\CordovaApp.sln solution and set "CordovaApp.Phone (Windows Phone 8.1)" as the Startup Project. Windows. Then run using "Emulator 8.1 WVGA".
> When the CordovaApp has started and "deviceready" has been fired, the status bar is gone.



--
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