LocationConfig

data class LocationConfig(val enabled: Boolean = false)

Location-tracking config block on SwanConfig.

Constructors

Link copied to clipboard
constructor(enabled: Boolean = false)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val enabled: Boolean = false

Master gate for the location-tracking surface. false (default) matches RN's opt-in posture (RN src/index.tsx:3845 strict equality to true). Surfaced via Swan.isLocationEnabled.