PostHogConfig
Example values
TypeScript
let config = PostHogConfig(apiKey: <ph_project_api_key>, host: <ph_app_host>)config.appGroupIdentifier = <String?>config.captureApplicationLifecycleEvents = <Bool>config.captureScreenViews = <Bool>config.dataMode = <PostHogConfig.PostHogDataMode>config.debug = <Bool>config.enableSwizzling = <Bool>config.evaluationEnvironments = <String]?>config.flushAt = <Int>config.flushIntervalSeconds = <TimeInterval>config.getAnonymousId = <UUID) -> UUID>config.maxBatchSize = <Int>config.maxQueueSize = <Int>config.optOut = <Bool>config.personProfiles = <PostHogPersonProfiles>config.preloadFeatureFlags = <Bool>config.propertiesSanitizer = <PostHogPropertiesSanitizer)?>config.remoteConfig = <Bool>config.reuseAnonymousId = <Bool>config.sendFeatureFlagEvent = <Bool>config.setDefaultPersonProperties = <Bool>config.snapshotEndpoint = <String>config.storageManager = <PostHogStorageManager?>PostHogSDK.shared.setup(config)