mosabab edited a comment on issue #598: [Android] Statusbar disappear after 
inappbrowser window opened (go in full screen)
URL: 
https://github.com/apache/cordova-plugin-inappbrowser/issues/598#issuecomment-584559954
 
 
   > > @breautek @NiklasMerz @mosabab
   > 
   > I am actively trying to find a solution for this. I have rolled back 
InAppBrowser and StatusBar plugins several versions all the way back to a 
couple years ago and have followed all the suggestions here so far as well s 
the related issues.
   > 
   > Older Android devices didn't bug me too much as full-screen apps. But now 
with newer Android devices (Samsung Note10+ for example) the big black status 
bar is really an issue.
   > 
   > I'm actively engaged in this to try to pinpoint what is causing the issue 
and will post results back here if I unlock the issue.
   > 
   > @mosabab did you find a solution that works with the newer Android devices 
(Galaxy 10+, Note 10+, etc.)?
   
   Hi @jlomelino 
   
   I am not familiar with android development.
   
   But what i am doing it for temp solution is to change the black bar to your 
theme color, you can do it like this code in your javascript `index.js` for eg.:
   
   ` StatusBar.backgroundColorByHexString("#00ddff");`
   You can replace `#00ddff` with your color theme.
   
   In my example here I change the color after inappbrowser show like this:
   
   `function loadStopCallBack() {
     if (inAppBrowserRef != undefined) {
        StatusBar.backgroundColorByHexString("#00ddff");
       inAppBrowserRef.show();
   }
   }`
   
   This what i do for now, until any one can fix this issue.
   
   Regards

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


With regards,
Apache Git Services

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

Reply via email to