microsoft / clarity

A behavioral analytics library that uses dom mutations and user interactions to generate aggregated insights.
https://clarity.microsoft.com
MIT License
2.16k stars 214 forks source link

App Crash On MAUI (IOS only) #667

Open AntonioKrstevskiZenegy opened 1 month ago

AntonioKrstevskiZenegy commented 1 month ago

Hello, I tried to use clarity for our MAUI app using this nuget which is just a MAUI wrapper for the native mobile implementations and Im getting a crash only on ios(simulator and real device). I noticed that the crash happens only when some ui components are used like CommunityToolkit.Maui.Views.AvatarView. I have opened an issue for the nuget with a sample project and crash logs but it seems that the crash is caused by the native library.

amralaa-MSFT commented 1 month ago

@AntonioKrstevskiZenegy Thank you for your interest in Clarity! While we appreciate your desire to use Clarity in your MAUI application, we currently don't have plans to officially support the MAUI framework. As our development resources are focused on other features and frameworks

We recommend disabling Clarity on the iOS platform within your MAUI application to avoid potential issues or crashes.

Kebechet commented 1 month ago

@amralaa-MSFT but is this MAUI problem ? I was able to wrap several other libraries without any problem and they were working (those libs didnt need any MAUI-specific configuration). So we dont expect any MAUI-specific solutions from your side.

Could you please take a look if this is simply not just a bug in your iOS library based on crash logs @AntonioKrstevskiZenegy provided here ?