I’m trying to add sticky immersive to our Corona app through a native Enterprise build to get around some of the issues discussed here: https://forums.coronalabs.com/topic/53170-immersivesticky-and-displayscreenoriginx/
While doing this, I ran into the same issues with display.screenOriginX mentioned in the above post. i.e. The dimensions that the Corona code sees is the dimensions of the app when the navigation bar is visible. Not the new dimensions when the navigation bar is hidden when in sticky immersive mode.
- Is there any easy way to update display.screenOriginX within Corona api calls to reflect the correct values?
if 1 isn’t possible then
- Is there any way to compute the correct value for display.screenOriginX using native Android api calls which I could pass to my Corona app?
Thanks,
Kenric