How to use the expo-task-manager.unregisterTaskAsync function in expo-task-manager

To help you get started, we’ve selected a few expo-task-manager examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github expo / expo / apps / native-component-list / src / screens / TaskManagerScreen.tsx View on Github external
unregisterTask = async (taskName: string) => {
    await TaskManager.unregisterTaskAsync(taskName);
    await this.updateRegisteredTasks();
  }

expo-task-manager

Expo module that provides support for tasks that can run in the background.

MIT
Latest version published 29 days ago

Package Health Score

92 / 100
Full package analysis