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
<PackageReference Include="Kebechet.Maui.MicrosoftClarity.Android" Version="3.8.2.1" />
<PackageVersion Include="Kebechet.Maui.MicrosoftClarity.Android" Version="3.8.2.1" />
<PackageReference Include="Kebechet.Maui.MicrosoftClarity.Android" />
paket add Kebechet.Maui.MicrosoftClarity.Android --version 3.8.2.1
#r "nuget: Kebechet.Maui.MicrosoftClarity.Android, 3.8.2.1"
#:package Kebechet.Maui.MicrosoftClarity.Android@3.8.2.1
#addin nuget:?package=Kebechet.Maui.MicrosoftClarity.Android&version=3.8.2.1
#tool nuget:?package=Kebechet.Maui.MicrosoftClarity.Android&version=3.8.2.1
Maui.MicrosoftClarity.Android
Thic repo contains bindings for Microsoft Clarity Android library
- https://clarity.microsoft.com/
- https://learn.microsoft.com/en-us/clarity/mobile-sdk/android-sdk
- https://github.com/microsoft/clarity
- changelog: https://learn.microsoft.com/en-us/clarity/mobile-sdk/sdk-changelog#android-sdk-changelog
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
AndroidMavenLibraryinstead of committing an.aarinto aJarsfolder:
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.<AndroidMavenLibrary Include="com.microsoft.clarity:clarity" Version="3.8.2" /> - Then you have to add all necessary dependencies. Your binding library should contain all these dependencies (ideally in same
versionbut until those libraries are compatible, versions are not important).- I have found and added
PackageReferencefor allXamarin/Mauialternatives of these libraries
- I have found and added
- The artifact's POM is downloaded alongside the AAR and drives Java dependency verification,
so a missing dependency now fails the build with
XA4241/XA4242naming exactly what is missing — thePackageReferencelist 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 viaJavaArtifact="group:id:version"metadata on itsPackageReference. - A POM dependency that genuinely isn't needed is excluded with
<AndroidIgnoredJavaDependency Include="group:id:version" />.
- A package that doesn't advertise which Maven artifact it fulfills (no
License
This repository is licensed with the MIT license.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0-android36.0 is compatible. |
-
net10.0-android36.0
- Xamarin.Android.Binding.InstallReferrer (>= 2.2.0)
- Xamarin.AndroidX.Fragment.Ktx (>= 1.7.0.2)
- Xamarin.Kotlin.StdLib (>= 2.0.0)
- Xamarin.Protobuf.JavaLite (>= 3.25.3)
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.
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