Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kolbasa/cordova-plugin-overlay

This plugin is intended for requesting the screen overlay permission on Android.
https://github.com/kolbasa/cordova-plugin-overlay

android capacitor cordova draw grant ionic overlay permission screen

Last synced: 13 days ago
JSON representation

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

Awesome Lists containing this project

README

        

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()

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

### openOverlaySetting()

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