I stiil can't get right the bottom of LG G4

Hi, I need help.

I had seem this topic: https://forums.coronalabs.com/topic/59623-screen-size-lg-g4/

And I thought it would help, but I still have the problem.

The LG G4 has a screen button bar, that’s not supposed to be occulted when the app isn’t on full screen.

The problem is that in any method I try, the phone always return the bottom of the screen wrong.

This is a test I made of the code at the link above, so you could see the problem:

13250524_928338723931543_683204464_n.png

Hi @bzanette,

Can you post the contents of your “config.lua” file? For clarity in the forums, please surround it with “lua” tags:

[lua] -- [/lua]

Thanks,

Brent

Thanks for answering!

The code of the config.lua is:

[lua]

application = {

content = {

width = 640,

height = 960,

scale = “letterbox”,

fps = 30

},

}

[/lua]

Have you enabled emmersiveSticky?

See: https://docs.coronalabs.com/api/library/native/setProperty.html

native.setProperty( “androidSystemUiVisibility”, “immersiveSticky” )

Rob

Hi @bzanette,

Can you post the contents of your “config.lua” file? For clarity in the forums, please surround it with “lua” tags:

[lua] -- [/lua]

Thanks,

Brent

Thanks for answering!

The code of the config.lua is:

[lua]

application = {

content = {

width = 640,

height = 960,

scale = “letterbox”,

fps = 30

},

}

[/lua]

Have you enabled emmersiveSticky?

See: https://docs.coronalabs.com/api/library/native/setProperty.html

native.setProperty( “androidSystemUiVisibility”, “immersiveSticky” )

Rob