Kebechet.Maui.MicrosoftClarity.Android 3.8.2.1

Prefix Reserved
dotnet add package Kebechet.Maui.MicrosoftClarity.Android --version 3.8.2.1
                    
NuGet\Install-Package Kebechet.Maui.MicrosoftClarity.Android -Version 3.8.2.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="Kebechet.Maui.MicrosoftClarity.Android" Version="3.8.2.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Kebechet.Maui.MicrosoftClarity.Android" Version="3.8.2.1" />
                    
Directory.Packages.props
<PackageReference Include="Kebechet.Maui.MicrosoftClarity.Android" />
                    
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 Kebechet.Maui.MicrosoftClarity.Android --version 3.8.2.1
                    
#r "nuget: Kebechet.Maui.MicrosoftClarity.Android, 3.8.2.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 Kebechet.Maui.MicrosoftClarity.Android@3.8.2.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=Kebechet.Maui.MicrosoftClarity.Android&version=3.8.2.1
                    
Install as a Cake Addin
#tool nuget:?package=Kebechet.Maui.MicrosoftClarity.Android&version=3.8.2.1
                    
Install as a Cake Tool

"Buy Me A Coffee"

Maui.MicrosoftClarity.Android

NuGet Version NuGet Downloads Last updated (main) Twitter

Thic repo contains bindings for Microsoft Clarity Android library

Versioning Scheme

The versioning scheme of Maui.MicrosoftClarity.Android is derived from the versioning of original native android package.

Example:

Origninal lib version Maui.MicrosoftClarity.Android Note
3.4.1 3.4.1.0 First version of bindings for 3.4.1
3.4.1 3.4.1.17 Bindings for 3.4.1 containing 17 fixes

How the binding was created

  • To start create a project Android Java library binding
  • Reference the native library straight from Maven Central with AndroidMavenLibrary instead of committing an .aar into a Jars folder:
      <AndroidMavenLibrary Include="com.microsoft.clarity:clarity" Version="3.8.2" />
    
    The AAR is downloaded when this binding is built and baked into the nupkg, so consumers need no Java, no Gradle and no build-time downloads.
  • Then you have to add all necessary dependencies. Your binding library should contain all these dependencies (ideally in same version but until those libraries are compatible, versions are not important).
    • I have found and added PackageReference for all Xamarin/Maui alternatives of these libraries
  • The artifact's POM is downloaded alongside the AAR and drives Java dependency verification, so a missing dependency now fails the build with XA4241/XA4242 naming exactly what is missing — the PackageReference list is cross-checked on every SDK bump instead of being hand-curated.
    • A package that doesn't advertise which Maven artifact it fulfills (no artifact_versioned= nuspec tag) has to say so via JavaArtifact="group:id:version" metadata on its PackageReference.
    • A POM dependency that genuinely isn't needed is excluded with <AndroidIgnoredJavaDependency Include="group:id:version" />.

License

This repository is licensed with the MIT license.

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

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Kebechet.Maui.MicrosoftClarity.Android:

Package Downloads
Kebechet.Maui.MicrosoftClarity

Serves as an abstraction around Microsoft Clarity Android and iOS SDKs

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
3.8.2.1 82 8/7/2026
3.8.2 316 5/12/2026
3.8.1.1 897 2/6/2026
3.8.1 116 2/6/2026
3.5.1 1,202 10/11/2025
3.2.0 5,721 4/15/2025
3.0.0 1,981 11/30/2024
2.4.0.2 514 7/15/2024
2.4.0.1 214 7/15/2024
2.4.0 212 7/15/2024

3.8.2.1: the Clarity AAR is now consumed via AndroidMavenLibrary (fetched from Maven Central when the binding itself is built) with POM-driven Java dependency verification, and the committed Jars were removed - shipped binaries are byte-identical to 3.8.2.0, nothing changes for consumers. 3.8.2.0: updated to net10.0, fixed Function1 type erasure clash in ACW