- Home /
How to suppress system bars on Android?
I can't submit my app to the Daydream store because "the app does not suppress system bars." I've looked everywhere and can't find anything that explains how to do this within Unity. I have "Virtual Reality supported" checked which should disable the notification and navigation bars automatically, and I haven't found anything else I can add to the AndroidManifest.xml file to keep everything full screen.
Shouldn't Unity be hiding the system bars automatically? Is there anything else I can put in the manifest or code to ensure the app remains full screen?
I'm using Unity 5.6.0b9 with no splash screen.
I have exactly the same problem using Unity 5.4.2-GVR13, also finding a solution.
Also having the same issue currently. Will post here when I find a solution.
I've noticed that the message I get from Google saying the app does not suppress system bars must be automated, it takes less than a $$anonymous$$ute for it to arrive every time I update my apk. This means it's not even testing the app, it must be looking for something specific in the Android$$anonymous$$anifest. I'm going to try editing the manifest to see if I can get it approved.
One thing I can say from my testing is that Google isn't wrong, my app does occasionally cause the Navigation Bar to pop out right when the app starts up. It goes away immediately but it definitely should not be happening in a VR app. Unity really needs to fix this bug, the automatically generated Android$$anonymous$$anifest should not have this problem. It also doesn't correctly add the uses-feature line for android.software.vr.mode.
Got a double conversation going on here! Glad to see we're in line with what the issue is then.
Answer by shmyt · Feb 28, 2017 at 07:53 AM
FYI It reproduced and will be fixed by Unity.
5.6.0b10 is out and still not fixed. Fingers crossed for 5.6.0b11.