Integrates robust geolocation and GPS tracking into .NET MAUI applications with platform-specific optimizations and battery-efficient patterns.
The maui-geolocation skill provides comprehensive guidance for implementing location-aware features in .NET MAUI apps using Microsoft.Maui.Devices.Sensors. It helps developers navigate complex cross-platform requirements, from handling iOS 14 approximate location settings to managing Android's separate background location permissions. By enforcing best practices like mandatory CancellationToken usage and mock-location detection, this skill ensures that mobile applications are responsive, secure, and optimized for battery life while providing accurate spatial data.
Key Features
01CancellationToken patterns to prevent indefinite GPS hanging
02Battery-optimized accuracy level configurations
03103 GitHub stars
04Mock location detection for security-sensitive workflows
05Cross-platform permission management for iOS, Android, and Windows
06One-shot and continuous location tracking implementations
Use Cases
01Building weather or local-search apps using low-accuracy location data
02Developing turn-by-turn navigation systems requiring high-precision GPS
03Implementing secure geofencing or check-in features with spoofing protection