I have an app configured with content:
width = 750,
height = 1334
The app in android with high screen does not work well, the calculated device height is wrong.
Also, I see a strange grey area at the bottom, just above the navigation bar.
This bad behavior is relevant to the “androidSystemUiVisibility” and setStatusBar. In other words, the calculated pixelHeight is changing.
Device: POCO X3 Resolution 1080 x 2400 pixels (android version 11)
In most of the “androidSystemUiVisibility” - setStatusBar combinations, the pixelHeight is 2049 or 2270 and not 2400.
I would like to have status and navigation bar visible, as it is a business app, but there is no ideal combination of “androidSystemUiVisibility” - setStatusBar as there is a strange dark area in the bottom and as said the calculated display related attributes are wrong.
Using “immersiveSticky” could be an option, as the bottom dark area is not shown, but then a lot of content properties are not calculated properly and I cannot find the correct safe are on top and bottom of the screen, so to position UI components properly.
On Android devices with not so high screen, there is no issue. Also iOS works fine.