Skip to main content
Version: v5

Android Full Screen

This plugin enables developers to offer users a true full screen experience in their Cordova and PhoneGap apps for Android. Using Android 4.0+, you can use true full screen in "lean mode", the way you see in apps like YouTube, expanding the app right to the edges of the screen, hiding the status and navigation bars until the user next interacts. This is ideally suited to video or cut-scene content. In Android 4.4+, however, you can now enter true full screen, fully interactive immersive mode. In this mode, your app will remain in true full screen until you choose otherwise; users can swipe down from the top of the screen to temporarily display the system UI.

https://github.com/mesmotronic/cordova-plugin-fullscreen

Stuck on a Cordova issue?

Don't waste precious time on plugin issues.

If you're building a serious project, you can't afford to spend hours troubleshooting. Ionic’s experts offer premium advisory services for both community plugins and premier plugins.

Installation

$ npm install cordova-plugin-fullscreen 
$ npm install @awesome-cordova-plugins/android-full-screen
$ ionic cap sync

Supported Platforms

  • Android

Usage

React

Learn more about using Ionic Native components in React

Angular

import { AndroidFullScreen } from '@awesome-cordova-plugins/android-full-screen/ngx';

constructor(private androidFullScreen: AndroidFullScreen) { }

...

this.androidFullScreen.isImmersiveModeSupported()
.then(() => console.log('Immersive mode supported'))
.catch(err => console.log(err));