display.setStatusBar( display.HiddenStatusBar ) does not works

I use display.setStatusBar( display.HiddenStatusBar ) to hide the statusBar on Android device.

It works well on Corona Simulator but on my device (android LG V30) I still have it.

I also downloaded Star Explorer, the demo in tutorial, but I still have the status bar.

I’m using Corona build 2020.3577.

Thank

Renato

Could you post a screenshot of this issue? Are you sure that it is the status bar that isn’t being hidden and not the Android navigation bar?

Really sorry,

I did not understand correctly. I wanted to delete the Android navigation commands.

I found the solution:

- Removes bottom bar on Android if system.getInfo ("androidApiLevel") and system.getInfo ("androidApiLevel") \<19 then &nbsp; &nbsp; &nbsp;native.setProperty ("androidSystemUiVisibility", "lowProfile") else &nbsp; &nbsp; &nbsp;native.setProperty ("androidSystemUiVisibility", "immersiveSticky") end

Thanks

Could you post a screenshot of this issue? Are you sure that it is the status bar that isn’t being hidden and not the Android navigation bar?

Really sorry,

I did not understand correctly. I wanted to delete the Android navigation commands.

I found the solution:

- Removes bottom bar on Android if system.getInfo ("androidApiLevel") and system.getInfo ("androidApiLevel") \<19 then &nbsp; &nbsp; &nbsp;native.setProperty ("androidSystemUiVisibility", "lowProfile") else &nbsp; &nbsp; &nbsp;native.setProperty ("androidSystemUiVisibility", "immersiveSticky") end

Thanks