I want my app to send a location every x minuttes, both when using the app, but also when the app is in the background.
I seen a few example of how to create a service which is running in the background with xamarin.android. (https://github.com/xamarin/mobile-samples/tree/master/BackgroundLocationDemo)
But what about xamarin.forms, which I'm working on? Could the same code be used with forms? Also I haven't seen the same for xamarin.ios.
Why can't I find a full example code of sending locations from a app, both foreground and background? I'm convinced a lot of developers could be interested in such functionallity.
I'm very new to xamarin, so I'm hoping you can point me in the right direction if its possible to develop such funcionallity.