mrbberra opened a new issue #728:
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/728


   # Feature Request
   
   ## Motivation Behind Feature
   With the merge of 
[GH-656](https://github.com/apache/cordova-plugin-inappbrowser/pull/656), the 
status bar now shows up with the color of the app status bar, which I've been 
setting using 
[cordova-plugin-statusbar](https://github.com/apache/cordova-plugin-statusbar). 
The InAppBrowser, however, still overrides the text in the status bar with 
`UIStatusBarStyleDefault` (black text), which is a problem if the status bar 
has a dark background color.
   
   ## Example
   ```
     StatusBar.styleLightContent();
     StatusBar.backgroundColorByHexString("#281e36");
   ```
   <img width="459" alt="Screen Shot 2020-06-12 at 1 13 09 PM" 
src="https://user-images.githubusercontent.com/10442753/84533846-8db5a480-acae-11ea-89d7-cdbff41e4119.png";>
   <img width="467" alt="Screen Shot 2020-06-12 at 1 13 16 PM" 
src="https://user-images.githubusercontent.com/10442753/84533802-7c6c9800-acae-11ea-88ac-75ba1277e490.png";>
   
   ## Feature Description
   Set IAB iOS status bar color from the cordova config file. I'm imagining 
something like `<preference name="InAppBrowserStatusBarStyle" 
value="lightcontent" />`
   
   
   I've got some work on this I've started I can submit a PR for- just changing 
the `preferredStatusBarStyle`. I guess a more complex implementation would be 
to add a method to modify it dynamically (since you can modify the status bar 
color dynamically using that plugin)... seems like overkill to me though.


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