From 9131c0976c69cd2528cb7ba25123a88f82037946 Mon Sep 17 00:00:00 2001 From: Doug <6060466+pixlwave@users.noreply.github.com> Date: Fri, 16 Jan 2026 15:30:42 +0000 Subject: [PATCH] Disable PostHog's swizzling. (#4964) We aren't using any of the features it brings anyway. --- .../Sources/Services/Analytics/PHGPostHogConfiguration.swift | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ElementX/Sources/Services/Analytics/PHGPostHogConfiguration.swift b/ElementX/Sources/Services/Analytics/PHGPostHogConfiguration.swift index 9da8a44da..188d159aa 100644 --- a/ElementX/Sources/Services/Analytics/PHGPostHogConfiguration.swift +++ b/ElementX/Sources/Services/Analytics/PHGPostHogConfiguration.swift @@ -15,6 +15,9 @@ extension PostHogConfig { postHogConfiguration.captureScreenViews = false postHogConfiguration.surveys = false + // We only want to track the events provided by the AnalyticsEvents package + postHogConfiguration.enableSwizzling = false + return postHogConfiguration } }