Kebechet.Maui.MicrosoftClarity.iOS 2.2.2

Prefix Reserved
dotnet add package Kebechet.Maui.MicrosoftClarity.iOS --version 2.2.2                
NuGet\Install-Package Kebechet.Maui.MicrosoftClarity.iOS -Version 2.2.2                
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.iOS" Version="2.2.2" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Kebechet.Maui.MicrosoftClarity.iOS --version 2.2.2                
#r "nuget: Kebechet.Maui.MicrosoftClarity.iOS, 2.2.2"                
#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.
// Install Kebechet.Maui.MicrosoftClarity.iOS as a Cake Addin
#addin nuget:?package=Kebechet.Maui.MicrosoftClarity.iOS&version=2.2.2

// Install Kebechet.Maui.MicrosoftClarity.iOS as a Cake Tool
#tool nuget:?package=Kebechet.Maui.MicrosoftClarity.iOS&version=2.2.2                

"Buy Me A Coffee"

Maui.MicrosoftClarity.iOS

NuGet Version NuGet Downloads

This repo contains bindings for Microsoft Clarity iOS library

Versioning Scheme

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

Example:

Origninal lib version Maui.MicrosoftClarity.iOS 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 fixes

Binding creation

Generating binding files

  • On my MAC I have downloaded and installed Objective Sharpie
  • I have downloaded latest package v1.0.0 from clarity-apps repoPackage.swiftxcframework.zip
  • I have extracted the .zip on my MAC desktop
  • started terminal, then cd ~/Desktop
  • firstly check what versions of xcode SDKs you have installed by sharpie xcode -sdks and use the iphoneosXX.Y version you have
  • I used command sharpie bind --sdk=iphoneos17.5 --output="ClarityBindingOutput" --namespace="MicrosoftClarityiOS" --scope="Clarity.xcframework/ios-arm64/Clarity.framework/Headers" "Clarity.xcframework/ios-arm64/Clarity.framework/Headers/Clarity-Swift.h"
    • this command generated ApiDefinitions.cs and StructsAndEnums.cs files

Adjusting generated files

  • I have removed all Verify attributes
  • ✅ - Done

⚠️ Binding build

Currently it is not possible to build the binding from Windows with connected MAC. So you have to build this binding directly from the MAC. The final size of the nuget should be >6MB

License

This repository is licensed with the MIT license.

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

    • No dependencies.

NuGet packages (1)

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

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
2.2.2 80 11/19/2024
2.1.0 192 9/10/2024
2.0.0.1 120 9/6/2024
2.0.0 179 8/15/2024
1.0.1.2 128 8/6/2024
1.0.1.2-preview1 82 7/16/2024
1.0.1.1 99 7/15/2024
1.0.1 88 7/15/2024
1.0.0 87 7/15/2024

Bumped iOS library to newest version