TelemetryDeck / SwiftSDK

Swift SDK for TelemetryDeck, a privacy-conscious analytics service for apps and websites.
https://telemetrydeck.com/
Other
149 stars 31 forks source link

VisionOS does not report country right now #167

Closed Jeehut closed 1 week ago

Jeehut commented 1 week ago

Due to a crash reported by a user (https://github.com/TelemetryDeck/SwiftSDK/issues/157) I had fixed the country code to "US" on visionOS. But now that the Vision Pro has launched in other countries, we should add support back for getting the right country code. It seems, the new API for getting the country code is available via storefront.countryCode rather than storefrontCountryCode. This should be fixes.