ngocdaothanh / cordova-plugin-unswipable-android-status-bar

Prevents Android status bar to be swiped down to display system quick menu
MIT License
4 stars 3 forks source link

Swipe still brings up status and navigation bars Android 5.1.1 #6

Open markarupert opened 4 years ago

markarupert commented 4 years ago

Has anyone gotten this to work on 5.1.1? I have a device I am using as a Kiosk but it is still showing the status and navigation bars when I swipe.

I am calling unswipableAndroidStatusBarPlugin.prevent(); after device ready and have tried the following in my config.xml:

<preference name="Fullscreen" value="true" />
<preference name="StatusBarOverlaysWebView" value="true" />

Have this in my AndroidManifest.xml:

I am using the plugins below.

cordova-plugin-fullscreen 1.1.0 "cordova-plugin-fullscreen" cordova-plugin-kiosk 0.2 "Cordova Kiosk Mode" cordova-plugin-unswipable-android-status-bar 1.0.0 "UnswipableAndroidStatusBarPlugin"