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.



If you're building a serious project, you can't afford to spend hours troubleshooting. Ionic's experts offer official maintenance, support, and integration help.

Contact Us Today!

Ionic 全屏 Android Full Screen插件的安装(Installation)

ionic cordova plugin add cordova-plugin-fullscreen npm install @ionic-native/android-full-screen
Ionic EE comes with fully supported and maintained plugins from the Ionic Team. Learn More or Contact Us
ionic enterprise register --key=YOURPRODUCTKEY npm install @ionic-enterprise/android-full-screen

Ionic 全屏 Android Full Screen插件支持的平台(Supported Platforms)

  • Android

Ionic 全屏 Android Full Screen插件的用法(Usage)

import { AndroidFullScreen } from '@ionic-native/android-full-screen/ngx';

constructor(private androidFullScreen: AndroidFullScreen) { }


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