Bump posthog version to 3.25

This commit is contained in:
Valere
2024-05-21 16:02:46 +02:00
parent 36b551a317
commit b9a187c2f5
10 changed files with 41 additions and 45 deletions
@@ -16,14 +16,16 @@
import PostHog
extension PHGPostHogConfiguration {
static var standard: PHGPostHogConfiguration? {
extension PostHogConfig {
static var standard: PostHogConfig? {
let analyticsConfiguration = BuildSettings.analyticsConfiguration
guard analyticsConfiguration.isEnabled else { return nil }
let postHogConfiguration = PHGPostHogConfiguration(apiKey: analyticsConfiguration.apiKey, host: analyticsConfiguration.host)
postHogConfiguration.shouldSendDeviceID = false
let postHogConfiguration = PostHogConfig(apiKey: analyticsConfiguration.apiKey, host: analyticsConfiguration.host)
// We capture screens manually
postHogConfiguration.captureScreenViews = false
return postHogConfiguration
}
}