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 2022/07/19 11:29:22 UTC

[GitHub] [cordova-plugin-inappbrowser] ibnsultan commented on issue #598: [Android] Statusbar disappear after inappbrowser window opened (go in full screen)

ibnsultan commented on issue #598:
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/598#issuecomment-1188937620

   > I don't think any such configuration currently exists in inappbrowser, given that `InAppBrowser` appears to unconditionally sets `FLAG_FULLSCREEN`.
   > 
   > As a test, you can try to modify `InAppBrowser.java` and comment out line 797. You should be able to find the file in `<your-cordova-project>/platforms/android/app/src/main/org/apache/cordova/inappbrowser/InAppBrowser.java` (didn't double check the path, but should be something like that).
   > 
   > By commenting out line 797, (`dialog.getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);`), in theory it should leave the statusbar as is?
   > 
   > Personally I'm not sure why `InAppBrowser` is making such an assumption about the statusbar.
   
   worked like a charm


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

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

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