I’m encountering issues with my app on Android 11 (newer and older versions don’t have this problem). It looks like the touch is not handled by the application, although for each touch I can see the paint methods being called. When touching, the bottom system bar pops up for a split second.
It sounds like this might be a problem with kiosk mode and/or full-screen mode.
Are you using kiosk mode to hide the status bar and navigation bar in your application? Do things work properly if you don’t use kiosk mode?
Are you testing on a physical Android 11 device, or on an emulator? If it’s a physical device, does it have any custom UI/launcher? Are you able to test any other Android 11 devices, and do you see the same behaviour on all of them?
Is your version of JUCE up-to-date? If not, is the issue still present on the develop branch?
Do you see the same behaviour in any of the JUCE examples, such as the DemoRunner application?
Hi reuk, thanks for the suggestions, I’m not that familiar with JUCE for Android. I’ll answer your questions:
I’m not using kiosk mode right now. I’ll try this first and see if it fixes it.
I’m testing on both physical device and emulator, physical device has custom UI (MIUI) and emulated does not. The problem is identical in both situations. I also tried with both physical device with Android 13 and other emulators with newer android version, and they all work fine.
I have yet to try the develop branch, i have JUCE 8.0.10 main branch.
I actually haven’t tried running the examples, my bad, should’ve been the first thing
Thanks for your answers so far. Unfortunately I don’t have any good ideas at the moment, but if you are able to repro the issue with the DemoRunner in an emulator then I can attempt to repro and debug the issue locally.
Another thought: does the issue affect all touches, regardless of their location on screen? Or, does it only affect touches over the navigation bar and/or status bar?
Ok, I did some tests. Unfortunately, kiosk mode doesn’t fix the issue. Same thing happens with the DemoRunner. All touch, anywhere on the screen, seems to not be handled but only on Android 11, newer and older versions work fine.
Tested with both JUCE 8.0.10 release and current develop branch.