There are two new things I have come across.
Both affecting Android devices.
Maybe you have a hint what to do.
1. Hiding bottom “software” navigation bar.
One of my test devices uses only “software” bottom navigation. No physical buttons at the bottom of the device.
It uses Android 7.1 (720×1280 resolution).
Unfortunately I don’t know how I can hide the bottom navigation bar when the app is running.
I tested even template apps from Felgo like Flappy Bird demo.
I saw few articles on Android developers portal, mostly for full-screen immersive mode.
All of them explain the way to do it but no longer using Manifest file but rather pure Java, did you implement this?
2. GameWindow no longer gives right values for device height
I tested 3 devices, Android 4.3(Samsung S3), Android 7.0(Samsung S6) and Android 7.1(Sony Xperia Compactx)
In all of the cases the game window height/screenHeight property is not calculated correctly.
On devices with 720×1280 it shows height as 1230
On device with 1440×2560 it shows height as 2460.
It bothers me because I use this value to do some calculations.
Fortunately I found GameWindow.screen object property, which has both valid
height property and
desktopAvailableHeight property, which is the lower value.
Maybe GameWindow uses the desktopAvailableHeight form screen property?
Any help appreciated 🙂