CountryDetector

Detects the user's country from device signals in priority order: SIM country → network country → configuration locale → default locale → "US".

Also normalises known ISO oddities (e.g. "UK" → "GB").

Functions

Link copied to clipboard
fun detect(context: Context): String