title: Periodic location report of device using flutter
body: <p>I need to report the current location of the device using a flutter app. I need to do that continiuesly even when the app is closed.
  I currently implemented it using <a href="https://pub.dev/packages/background_fetch" rel="nofollow noreferrer">background_fetch</a> which does the job about every 15 minutes.
  It works well when the app is open or minimized. But when the app is closed, it functions in Headless mode and doesn't work. the Exception is:</p>
  
  <pre><code>MissingPluginException(No implementation found for method getLocation on channel lyokone/location)
  </code></pre>
  
  <p>It seems that in Headless mode, not all the app is loaded in memory. I don't have any idea how to solve it.</p>
  
  <p>Also I tried using an Isolate but I face with a new exception:</p>
  
  <pre><code>native function 'Window_sendPlatformMessage' (4 arguments) cannot be found.
  </code></pre>
  
  <p>Anybody knows how to solve these problems or have any new idea to do the location tracking?</p>