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

Leonardo Bazico updated CB-10934:
---------------------------------
    Description: 
The deviceready event is fired on re-open app after close app with backbutton 
on Android, but method backgroundColorByHexString doesn't work.

I don't test with other methods of window.StatusBar.

{code:borderStyle=solid}
document.addEventListener("deviceready", function () {
            if (window.StatusBar && window.cordova && window.cordova.platformId 
== 'android') {
                window.StatusBar.backgroundColorByHexString("#141414");
            }
        }, false);
{code}

Tested with cordova-plugin-statusbar 2.0.0 and 2.1.2

  was:
The deviceready event is fired on re-open app after close app with backbutton 
on Android, but method backgroundColorByHexString don't work.

I don't test with other methods of window.StatusBar.

{code:borderStyle=solid}
document.addEventListener("deviceready", function () {
            if (window.StatusBar && window.cordova && window.cordova.platformId 
== 'android') {
                window.StatusBar.backgroundColorByHexString("#141414");
            }
        }, false);
{code}

Tested with cordova-plugin-statusbar 2.0.0 and 2.1.2


> backgroundColorByHexString doesn't work after tap backbutton on Android
> -----------------------------------------------------------------------
>
>                 Key: CB-10934
>                 URL: https://issues.apache.org/jira/browse/CB-10934
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Statusbar
>         Environment: Mac OS X 10.10.5
> Cordova 6.0.0
> Android 5.1
> cordova-plugin-statusbar 2.0.0/2.1.2
>            Reporter: Leonardo Bazico
>
> The deviceready event is fired on re-open app after close app with backbutton 
> on Android, but method backgroundColorByHexString doesn't work.
> I don't test with other methods of window.StatusBar.
> {code:borderStyle=solid}
> document.addEventListener("deviceready", function () {
>             if (window.StatusBar && window.cordova && 
> window.cordova.platformId == 'android') {
>                 window.StatusBar.backgroundColorByHexString("#141414");
>             }
>         }, false);
> {code}
> Tested with cordova-plugin-statusbar 2.0.0 and 2.1.2



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to