Kapusch.PostHog.iOS 1.0.0-rc.1

Prefix Reserved
This is a prerelease version of Kapusch.PostHog.iOS.
dotnet add package Kapusch.PostHog.iOS --version 1.0.0-rc.1
                    
NuGet\Install-Package Kapusch.PostHog.iOS -Version 1.0.0-rc.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Kapusch.PostHog.iOS" Version="1.0.0-rc.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Kapusch.PostHog.iOS" Version="1.0.0-rc.1" />
                    
Directory.Packages.props
<PackageReference Include="Kapusch.PostHog.iOS" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Kapusch.PostHog.iOS --version 1.0.0-rc.1
                    
#r "nuget: Kapusch.PostHog.iOS, 1.0.0-rc.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Kapusch.PostHog.iOS@1.0.0-rc.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Kapusch.PostHog.iOS&version=1.0.0-rc.1&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Kapusch.PostHog.iOS&version=1.0.0-rc.1&prerelease
                    
Install as a Cake Tool

Kapusch.PostHog.iOS

Thin interop for PostHog iOS 3.92.5. Upstream manages persistence and retries. Initialize once on the main thread; reset between accounts. Flush is not a receipt. Capture is enabled by default; set NativePostHogOptions.OptOut to start disabled and call OptIn() after consent. Replay is disabled and not qualified.

Reset() deletes the SDK's persisted opt-out and, even while opted out, sends a feature flag request with the device ID; consent-gated apps should keep consent in their own store (PersistOptOut = false) and call Reset() while opted out only to clear an identified user.

See the integration guide, the consent guide and the changelog.

Product Compatible and additional computed target framework versions.
.NET net10.0-ios26.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net10.0-ios26.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.0-rc.1 65 10/28/2026
0.1.0 123 10/8/2026

PostHog iOS 3.92.5; NativePostHogOptions (OptOut, PersistOptOut), IsOptOut; native entry point kph_setup_v2 replaces kph_setup; Capture properties now override SDK context keys of the same name. Reset() sends a /flags request with the device ID even while opted out. See https://github.com/Kapusch/PostHogApisForiOSComponents/blob/main/CHANGELOG.md