Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Scheduling Background Tasks After App Closure #4669

Open
1 task done
Vivekananda-Mullangi opened this issue Jan 8, 2025 · 0 comments
Open
1 task done

Comments

@Vivekananda-Mullangi
Copy link
Contributor

Duplicate Check

Describe the requested feature

There is currently no way to schedule tasks or processes to run after the app is closed. The ability to do so would be extremely useful in many scenarios.

Example Scenarios:

  • Periodic Data Synchronization: Fetch or sync data from APIs or databases even when the app is not open, providing a better user experience by ensuring data stays up-to-date without needing the app to be actively running.
  • Notifications: Send local notifications at specific times or when a requested task has completed, without relying on the app being open.
  • Task Queuing: Run long-running tasks in the background that can continue executing even after the app is closed, ensuring that critical operations are not interrupted.

Suggest a solution

There are 2 ways to include background task support as specified by flutter team here.

  1. Dart Isolates
  2. Workmanager Package

Screenshots

No response

Additional details

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant