Skip to content

kolbasa/cordova-plugin-overlay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cordova Overlay Plugin

This plugin is intended for requesting the screen overlay permission on Android.

Installation

Cordova

cordova plugin add cordova-plugin-overlay

Ionic + Cordova

ionic cordova plugin add cordova-plugin-overlay

Capacitor

npm install cordova-plugin-overlay

API

canOverlayScreen()

Overlay.canOverlayScreen()
    .then(function (result) {
        // true, false
    });

openOverlaySetting()

Overlay.openOverlaySetting()
    .then(function (result) {
        // true, false
    });