You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When launching InAppBrowser.openWebView with toolbarType: ToolBarType.BLANK on Android, the status bar becomes hidden and only appears when swiping down from the top. Note: On the screenshot the top is black because of a punch hole camera.
Expected behavior
The global app setting should be respected, with the status bar remaining visible.
Reproduction
No response
Steps to reproduce
Call InAppBrowser.openWebView() with toolbarType: ToolBarType.BLANK on an Android Device (tested with Pixel 9 & 8)
I experimented a bit and found a possible solution:
In _ee/forgr/capacitor_inappbrowser/WebViewDialog.java on line 158, we can make the following change to fix the issue. This way, the status bar color will consistently be set to black. One could think about using toolbarColor or something like that to make this configurable. setAppearanceLightStatusBars needs then to be change accordingly.
Version
6.9.4
Platform(s)
Current behavior
When launching
InAppBrowser.openWebView
withtoolbarType: ToolBarType.BLANK
on Android, the status bar becomes hidden and only appears when swiping down from the top.Note: On the screenshot the top is black because of a punch hole camera.
Expected behavior
The global app setting should be respected, with the status bar remaining visible.
Reproduction
No response
Steps to reproduce
InAppBrowser.openWebView()
withtoolbarType: ToolBarType.BLANK
on an Android Device (tested with Pixel 9 & 8)our exact configuration:
Other information
I experimented a bit and found a possible solution:
In
_ee/forgr/capacitor_inappbrowser/WebViewDialog.java
on line 158, we can make the following change to fix the issue. This way, the status bar color will consistently be set to black. One could think about usingtoolbarColor
or something like that to make this configurable.setAppearanceLightStatusBars
needs then to be change accordingly.Capacitor doctor
💊 Capacitor Doctor 💊
Latest Dependencies:
@capacitor/cli: 6.1.2
@capacitor/core: 6.1.2
@capacitor/android: 6.1.2
@capacitor/ios: 6.1.2
Installed Dependencies:
@capacitor/cli: 6.1.2
@capacitor/core: 6.1.2
@capacitor/android: 6.1.2
@capacitor/ios: 6.1.2
[success] iOS looking great! 👌
[success] Android looking great! 👌
Before submitting
Fastest way to fix this issue
The text was updated successfully, but these errors were encountered: