Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49103

Completely hide android StatusBar and ActionBar

$
0
0

@Collini wrote:

Hello everybody,

been fiddling around with Ionic Framework for some time now and absolutely love it!

I came across a problem with the app I am currently making. I am deploying my application on an Archos tablet running Android 5.1.1. Since I want my application to be the only application the user can access on this device, I am trying to hide the StatusBar and ActionBar. I can hide these bars using one or more of the following commands, however they are not persistent.


StatusBar.hide();
$cordovaStatusbar.hide()

These commands hide the StatusBar and ActionBar, when I swipe down (or up) on the top (or bottom) of my tablet, they reappear again. Since what I am looking for is similar to "Kiosk mode", I also tried the following plugin https://github.com/honza889/cordova-plugin-kiosk , but again I can swipe to make the Action and StatusBar reappear. It seems this is hardcoded in the tablet I am using. There was another question about a similar topic on this forum https://forum.ionicframework.com/t/kiosk-mode/26834, but the answer over there didn't seem useful to me. (I tried, but could not get it to work).

Does anybody know a way to prevent the user from requesting the statusBar or actionBar, so that I can create a good Kiosk mode for my ionic app?

Thank you for your help

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49103

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>