Flutter Application : Location fetch in background
In flutter, code can be executed in background using Isolates
Isolates are Dart’s model for multithreading, though an isolate differs from a conventional thread in that it doesn’t share a memory with the main program.
Check this post for more info.
Code Runner
I am software developer in C# with more than 2 years experience and right now i working as mobile developer with xamarin in Ontario,Canada.
Updated on December 01, 2022Comments
-
Code Runner over 1 year
I want to keep my application running or a piece of code which can perform some operation like getting a current location and call an API to submit that location.
I saw the background_fetch plugin but it says, app can not fetch the callback before 15 minutes in background so it is not feasible solution for tracking a location to get location every 15 minutes, so is there any way that can make possible to keep running some code in background.
Any leads would be appreciated.
Thanks