You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2021/06/14 08:06:11 UTC

[GitHub] [cordova-plugin-inappbrowser] poohia edited a comment on issue #849: [BUG] [Android] InAppBrowser changes StatusBar color to black when opened!

poohia edited a comment on issue #849:
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/849#issuecomment-860041816


   @jagzmz 
   
   I have apk with my code working, but I appenned some features and now i have status bar always black now ( maybe updated packaging ).
   
   Android 8.0.0
   
   Code: 
   
   index.js
   ```javascript
   document.addEventListener(
       "deviceready",
       () => {
          window.cordova.InAppBrowser.open(
                 url,
                 "_blank",
                 "location=no,hidenavigationbuttons=yes,zoom=no,fullscreen=yes,footer=no"
               );
   })
   ```
   
   config.xml
   ```xml
   <preference name="StatusBarOverlaysWebView" value="true" />
   <preference name="StatusBarBackgroundColor" value="#13a880" />
   ```
   
   
   Proof:
   ![Screenshot_20210612-134011](https://user-images.githubusercontent.com/17701613/121774698-ebabef00-cb83-11eb-81cf-6162800b969e.jpg)
   


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



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