You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/09/02 13:55:00 UTC

[GitHub] [cordova-plugin-statusbar] TerekhovAI opened a new issue #151: Cant set desired statusbar properties

TerekhovAI opened a new issue #151: Cant set desired statusbar properties
URL: https://github.com/apache/cordova-plugin-statusbar/issues/151
 
 
   # Bug Report
   Cant get desired status bar properties
   
   ## Problem
   I need statusbar background to be transparent, and font-color to be black
   
   ### What does actually happen?
   Background color is black or any other color i set, but no any opacity, ever.
   
   
   ## Information
   According to docs, i tried (in config.xml)
   1)  <preference name="StatusBarOverlaysWebView" value="true"/> . (which is actually 'true' by default)
   <preference name="StatusBarStyle" value="default" />
   This should make statusbar transparent.
   But i get black solid background with no transparency.
   2) <preference name="StatusBarOverlaysWebView" value="false"/>
   also i set hex color value via ARGB
   <preference name="StatusBarBackgroundColor" value="#00ffffff" />
   alternatively tried via StatusBar.backgroundColorByHexString('#00FFFFFF') in index.jsx file
   in this case i dont get any transparency at all, seems like ARGB value is not being recognised correctly.
   
   ### Environment, Platform, Device
   phone with Android 8.1.0
   
   ### Version information
   I make hybrid app in React,
   Cordova Platforms : android 8.0.0, ios 5.0.1
   "cordova-plugin-statusbar": "^2.4.3",
   
   ## Checklist
   - [x] I searched for existing GitHub issues
   - [x] I included all the necessary information above
   

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

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