Skip to content

Latest commit

 

History

History
47 lines (27 loc) · 857 Bytes

README.md

File metadata and controls

47 lines (27 loc) · 857 Bytes

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