Hi everyone,
I have just updated my Nexus7 2013 to Android 6.0 and found a bug of navigation bars.
I use this code:
if system.getInfo("platformName") == "Android" then native.setProperty( "androidSystemUiVisibility" , "immersiveSticky" ) end
But I find out that if my app suspends ( like: press home, showAleart, login facebook, login G+ v.v.v), then resume, the navigation bar will appear again. So I try this code:
local function onSystemEvent( event ) if event.type == "applicationResume" then if system.getInfo("platformName") == "Android" then timer.performWithDelay(250,function() native.setProperty( "androidSystemUiVisibility" , "immersiveSticky" ) end) end end end Runtime:addEventListener( "system", onSystemEvent )
The problem happened like that: the thress buttons ( Back, Home, Menu ) disppear, but the blackbar doesn’t, as you can see in the images below:
I check with some other apps from Store (not built with Corona), and the navigation bars works correctly. So can you please check it out on 6.0 devices?
Last P/S: After a few tests, I find out that maybe cause by my Google Now Laucher. Another Nexus7 6.0 with default laucher doesn’t have this bug. So can you do anything about that?