Kebechet.Maui.MicrosoftClarity.iOS
2.0.0.1
Prefix Reserved
See the version list below for details.
dotnet add package Kebechet.Maui.MicrosoftClarity.iOS --version 2.0.0.1
NuGet\Install-Package Kebechet.Maui.MicrosoftClarity.iOS -Version 2.0.0.1
<PackageReference Include="Kebechet.Maui.MicrosoftClarity.iOS" Version="2.0.0.1" />
paket add Kebechet.Maui.MicrosoftClarity.iOS --version 2.0.0.1
#r "nuget: Kebechet.Maui.MicrosoftClarity.iOS, 2.0.0.1"
// Install Kebechet.Maui.MicrosoftClarity.iOS as a Cake Addin #addin nuget:?package=Kebechet.Maui.MicrosoftClarity.iOS&version=2.0.0.1 // Install Kebechet.Maui.MicrosoftClarity.iOS as a Cake Tool #tool nuget:?package=Kebechet.Maui.MicrosoftClarity.iOS&version=2.0.0.1
Maui.MicrosoftClarity.iOS
This repo contains bindings for Microsoft Clarity iOS library
- https://clarity.microsoft.com/
- https://learn.microsoft.com/en-us/clarity/mobile-sdk/ios-sdk
- https://github.com/microsoft/clarity
- changelog: https://learn.microsoft.com/en-us/clarity/mobile-sdk/sdk-changelog#ios-sdk-changelog
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 repo → Package.swift → xcframework.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 theiphoneosXX.Y
version you have - I used command
sharpie bind --sdk=iphoneos17.2 --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
andStructsAndEnums.cs
files
- this command generated
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 | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0-ios17.2 is compatible. |
-
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.
Removed unecessary *.swiftmodule from binding