7.0.3 • Published 5 months ago
capacitor-overlay v7.0.3
capacitor-overlay
Provides a simple way to check if the application has permission to overlay other apps on Android.
Install
npm install capacitor-overlay
npx cap sync
API
checkPermission()
checkPermission() => Promise<checkPermissionResult>
Returns if the app has overlay permission.
Only available on Android.
Returns: Promise<checkPermissionResult>
Since: 0.0.1
openOverlaySettings()
openOverlaySettings() => Promise<void>
Opens the Overlay settings page.
Only available on Android.
Since: 0.0.1
Interfaces
checkPermissionResult
Prop | Type | Description | Since |
---|---|---|---|
granted | boolean | If the app has overlay permission. | 0.0.1 |