How to organize fetching requests in the background every 10 seconds, for example? Only for Android.
Asked
Active
Viewed 40 times
-1
-
Any coding attempts? – Ahmad F May 08 '22 at 08:06
-
https://stackoverflow.com/questions/50106844/how-to-create-a-service-in-flutter-to-make-an-app-to-run-always-in-background https://stackoverflow.com/questions/66711189/how-to-run-flutter-app-in-background-continually https://stackoverflow.com/questions/71373732/run-code-in-background-every-10-seconds-in-flutter – Ahmad F May 08 '22 at 08:10
-
Does this answer your question? [How to schedule background tasks in Flutter?](https://stackoverflow.com/questions/51706265/how-to-schedule-background-tasks-in-flutter) – nvoigt May 08 '22 at 08:14
-
use Timer for 10-15 seconds – anggadaz May 09 '22 at 03:37