You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Leonardo Bazico (JIRA)" <ji...@apache.org> on 2016/03/23 01:54:25 UTC

[jira] [Updated] (CB-10934) backgroundColorByHexString doesn't work after tap backbutton on Android

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

Leonardo Bazico updated CB-10934:
---------------------------------
    Summary: backgroundColorByHexString doesn't work after tap backbutton on Android  (was: backgroundColorByHexString don't work after tap backbutton on Android)

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



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