react-native-overlay-apps
v0.2.0
Published
React native library for writing text over other applications
Downloads
4
Readme
react-native-overlay-apps
React native library to writing text over other applications
Installation
npm install react-native-overlay-apps
Usage
import OverlayApps from 'react-native-overlay-apps';
const startOverlay = async () => {
const hasPermission = await OverlayApps.askPermission();
if (hasPermission) {
OverlayApps.showOverlay();
OverlayApps.setText('Hello World');
}
};
const stopOverlay = () => {
OverlayApps.hideOverlay();
};
A full code example can be found at https://github.com/Nilsantos/react-native-overlay-apps/blob/master/example/src/App.tsx
Contributing
See the contributing guide to learn how to contribute to the repository and the development workflow.
License
MIT