cordova-fs-plugin-fullscreen

A cordova plugin for controlling fullscreen

Usage no npm install needed!

<script type="module">
  import cordovaFsPluginFullscreen from 'https://cdn.skypack.dev/cordova-fs-plugin-fullscreen';
</script>

README

cordova-plugin-fullscreen

Interactive fullscreen mode.

cordova-plugin-fullscreen on NPM

Platforms

  • Windows 10+
  • Android 4.4+

Installation

cordova plugin add https://github.com/filfat-Studios-AB/cordova-plugin-fullscreen
cordova prepare

Methods

Turn fullscreen mode on

Fullscreen.on();

Turn fullscreen mode off

Fullscreen.off();

Feature detect to avoid crash or errors on unsupported platforms:

document.addEventListener('deviceready', function () {
    if(typeof Fullscreen !== 'undefined'){
        //It's safe to use Fullscreen here	
    }
});

Misc

  • Cordova 5.0 or higher is required for Windows 10 support.

License

MIT