Simbaclaws opened a new issue #189:
URL: https://github.com/apache/cordova-plugin-statusbar/issues/189


   # Bug Report
   
   ## Problem
   When creating a dark background color of the statusbar by for example: 
StatusBar.backgroundColorByHexString('#000000');
   and then doing:
   StatusBar.styleLightContent();
   
   then the text will be black on a black background on ios.
   
   ### What is expected to happen?
   The text should become a light variant on a dark background.
   
   
   ### What does actually happen?
   The text is dark on a dark background.
   
   
   ### Command or Code
   StatusBar.styleLightContent();
   
   
   ### Environment, Platform, Device
   Both on a real device as well as the emulator.
   
   
   ### Version information
   ```Ionic:
   
      Ionic CLI                     : 6.7.0 
(/usr/local/lib/node_modules/@ionic/cli)
      Ionic Framework               : @ionic/angular 4.11.10
      @angular-devkit/build-angular : 0.803.26
      @angular-devkit/schematics    : 8.1.3
      @angular/cli                  : 8.1.3
      @ionic/angular-toolkit        : 2.2.0
   
   Capacitor:
   
      Capacitor CLI   : 1.5.2
      @capacitor/core : 2.1.0
   
   Cordova:
   
      Cordova CLI       : 9.0.0 ([email protected])
      Cordova Platforms : none
      Cordova Plugins   : no whitelisted plugins (0 plugins total)
   
   Utility:
   
      cordova-res                          : 0.14.0
      native-run (update available: 1.0.0) : 0.2.8
   
   System:
   
      Android SDK Tools : 25.2.4 (/users/doelapp/Library/Android/sdk/)
      ios-deploy        : 1.9.4
      NodeJS            : v12.1.0 (/usr/local/Cellar/node/12.1.0/bin/node)
      npm               : 6.13.7
      OS                : macOS Catalina
      Xcode             : Xcode 11.4.1 Build version 11E503a
   ```
   
   
   ## Checklist
   
   - [ x ] I searched for existing GitHub issues
   - [ x ] I updated all Cordova tooling to most recent version
   - [ x ] I included all the necessary information above
   
   The following issue might be related: 
https://github.com/apache/cordova-plugin-statusbar/issues/188


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



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

Reply via email to