location Sharing Enabled
Consumer opt-in for location sharing - see AFCoreConfig.locationSharingEnabled. Defaults to disabled: the SDK never sends a live location unless the host enables it here, after collecting the member's consent. When enabled, the SDK shares on initialization, on foreground, alongside visit-detection geofence transitions, and in the background whenever the device moves significantly. Background sharing needs "Always" location permission (Android: ACCESS_BACKGROUND_LOCATION).
This is the only switch that starts background location (iOS significant-location-change monitoring, Android background location updates). The deprecated heartbeatEnabled keeps the 1.11 triggers and never shares in the background.
When left unset, the SDK keeps the per-install choice already persisted. The opt-in survives logout.