0.1.5 • Published 3 years ago
@walbay/react-native-async-task v0.1.5
react-native-async-task
A native module useful to run long running async tasks even if app terminates using WorkManager in Android and BackgroundFetch in iOS
Runs async tasks even if app terminates
Installation
npm install react-native-async-task
Usage
import AsyncTask from "react-native-async-task";
// ...
const result = AsyncTask.setWorker({});
Contributing
See the contributing guide to learn how to contribute to the repository and the development workflow.
License
MIT