Skip to content

shernandezp/XamarinForms.LocationService

Folders and files

NameName
Last commit message
Last commit date
Feb 4, 2021
May 31, 2024
May 31, 2024
May 31, 2024
Mar 17, 2024
Aug 31, 2020
Aug 31, 2020
Mar 17, 2024
Mar 17, 2024
Mar 17, 2024
Jan 23, 2021
Mar 17, 2024

Repository files navigation

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.

  • Location Updates
  • Location Permissions Management
  • Background Processing Management

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

  • MAUI
  • CLLocationManager

Image

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."