Fix launch crash — add production PostHog API key for Release builds
Replaces fatalError with hardcoded production key so analytics initializes correctly in TestFlight/App Store builds. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -27,7 +27,7 @@ final class AnalyticsManager {
|
||||
#if DEBUG
|
||||
return "phc_development_key" // Safe fallback for debug builds
|
||||
#else
|
||||
fatalError("Missing POSTHOG_API_KEY in Info.plist")
|
||||
return "phc_RnF7XWdPeAY1M8ABAK75KlrOGVFfqHtZbkUuZ7oY8Xm"
|
||||
#endif
|
||||
}()
|
||||
private static let host = "https://analytics.88oakapps.com"
|
||||
|
||||
Reference in New Issue
Block a user