shernandezp / XamarinForms.LocationService

MAUI Background Services, Background Location Updates, Location Updates, BroadCastReceiver
https://github.com/shernandezp
Apache License 2.0
71 stars 25 forks source link
background-tasks broadcastreceiver location location-services maui

Background Location Service

XamarinForms.LocationService is an application that refreshes GPS location every n seconds. Over the years, I've been developing mobile apps requiring location features. Hopefully, this project will save you time regarding service and location management in your Xamarin Net application for Android and iOS.

For documentation related to the Background Services in Android/iOS, you can refer to this tutorial. It served as the basis for how I started to build a solution for periodic location updates.

For migrating from Xamarin.Forms to MAUI, you can follow this link

The application has been migrated to MAUI.

Components used

Android:

"Be aware that you might need to adjust battery saver settings on some devices manually to allow the application to continue working in the background."