Timo Tiuraniemi created CB-9696:
-----------------------------------

             Summary: Add possibility to use non-immersive fullscreen in all 
Android versions
                 Key: CB-9696
                 URL: https://issues.apache.org/jira/browse/CB-9696
             Project: Apache Cordova
          Issue Type: Improvement
          Components: Android
    Affects Versions: Master
            Reporter: Timo Tiuraniemi
            Priority: Minor


Issue CB-8902 added a fullscreen immersive mode for Android version >=4.4 
Kitkat.

As I commented on the issue, unfortunately this change broke my >=KitKat app. 
Immersive mode is significantly different from the old behavior:

1. Fullscreen in 4.1.1 is triggered later during boot than in 4.0.0, which 
cause my layout to slightly break as CSS is evaluated before fullscreen is 
ready. 
2. When activating the keyboard, to navigation bar comes back. It didn't in 
4.0.0. When I close the keyboard, the navigation bar doesn't get hidden but 
fullscreen is lost.

I propose that we introduce a new setting "fullscreen-immersive" to turn 
immersive off, but keep fullscreen on like this:

<preference name="fullscreen" value="true" />
<preference name="fullscreen-immersive" value="false" />

The new setting would default to true, making this change non-breaking for 
everyone.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to