You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Alex Ward (JIRA)" <ji...@apache.org> on 2018/02/15 23:26:00 UTC

[jira] [Created] (CB-13891) StatusBar.styleDefault() causes status bar to vanish on Android.

Alex Ward created CB-13891:
------------------------------

             Summary: StatusBar.styleDefault() causes status bar to vanish on Android.
                 Key: CB-13891
                 URL: https://issues.apache.org/jira/browse/CB-13891
             Project: Apache Cordova
          Issue Type: Bug
          Components: cordova-plugin-statusbar
    Affects Versions: 2.4.0, 2.3.0, 2.4.1
         Environment: ⇒ cordova platform ls
Installed platforms:
 android 6.2.3
Available platforms:
 blackberry10 ~3.8.0 (deprecated)
 browser ~4.1.0
 ubuntu ~4.3.4 (deprecated)
 webos ~3.7.0

 

⇒ cordova plugin ls
cordova-plugin-device 2.0.1 "Device"
cordova-plugin-ionic-keyboard 2.0.5 "cordova-plugin-ionic-keyboard"
cordova-plugin-ionic-webview 1.1.16 "cordova-plugin-ionic-webview"
cordova-plugin-splashscreen 5.0.2 "Splashscreen"
cordova-plugin-statusbar 2.3.0 "StatusBar"
cordova-plugin-whitelist 1.3.3 "Whitelist"

⇒ cordova --version
7.0.1
            Reporter: Alex Ward


On any version of cordova-plugin-statusbar past 2.2.3 I'm seeing that a call to `StatusBar.styleDefault()` will cause the status bar to disappear on Android, whereas on 2.2.3 and lower it is simply a no-op.

 

I made a github repo to demonstrate the problem - [https://github.com/cthos/status-bar-bug|https://github.com/cthos/status-bar-bug.] 

Those screenshots were taken on a Moto G4, but I've seen it on the Galaxy Line of Phones as well.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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