Skip to content

Repository files navigation

Android only

[x] New Architect support

[x] Compatitive old Architect

@vokhuyet/react-native-draw-overlay

Draw over other apps in Android

Installation

npm install @vokhuyet/react-native-draw-overlay

Extra

add to AndroidManifest.xml

<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" /> 

Usage

import { requestOverlayPermission, isOverlayPermissionGranted } from '@vokhuyet/react-native-draw-overlay';

// ...
const isGrantedBefore = await isOverlayPermissionGranted();

const grant = await requestOverlayPermission();

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT


Made with create-react-native-library

About

Draw over other apps in Android

Resources

Code of conduct

Contributing

Stars

23 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages