add-geolocation
Installation
SKILL.md
Shared instructions: shared-instructions.md - read first.
Add Geolocation
Internal helper for /add-native geolocation, /add-native location-tracking, /add-native background-location, /add-native gps-tracking, and /add-native @microsoft/power-apps-native-bglocation.
Use this only for continuous/background GPS tracking with native durable storage and inline Dataverse upload. For a single foreground coordinate read, use /add-native location (expo-location) instead.
Hard rules:
- Auth is MSAL-only. Do not expose OneAuth or an auth selector.
- Use
geoService(dataSource, app_id)andBgLocationClient. - Do not use
GeolocationExtension, HostingSDK, PCF, Launch URI, or CordovaV2 bridge paths. - Do not install packages or edit native config.
- The control is not usable until its Dataverse target table and mapped columns are verified.