Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App Crash On MAUI (IOS only) #667

Closed
AntonioKrstevskiZenegy opened this issue Sep 20, 2024 · 9 comments
Closed

App Crash On MAUI (IOS only) #667

AntonioKrstevskiZenegy opened this issue Sep 20, 2024 · 9 comments
Labels
apps Issues specific to Clarity Apps SDK

Comments

@AntonioKrstevskiZenegy
Copy link

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
Copy link
Contributor

@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
Copy link

@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 ?

@omer-ays
Copy link

The app only crashes on ios. Any method does not work.

@Kebechet
Copy link

@omer-ays I can try to update the nuget to their latest iOS library version and then you can test if the problem persists.
Currently nuget uses v2.1.0
https://learn.microsoft.com/en-us/clarity/mobile-sdk/sdk-changelog#ios-sdk-changelog

@Kebechet
Copy link

@omer-ays
I have updated iOS packge to v2.2.2 and also the wrapper to v1.0.6

@ibradwan ibradwan added the apps Issues specific to Clarity Apps SDK label Nov 19, 2024
@omer-ays
Copy link

@omer-ays I have updated iOS packge to v2.2.2 and also the wrapper to v1.0.6

It's still the same. Thank you for your concern.

@Kebechet
Copy link

@ibradwan is there a chance you could look into it ?

@BrunoBestetti
Copy link

Maui is a Microsoft framework, clarity is a microsoft tool, what do you mean you have no intentions to officially support Maui? It doesn't make any sense. @amralaa-MSFT

@amralaa-MSFT
Copy link
Contributor

@BrunoBestetti: We appreciate your interest in using Clarity with MAUI. We understand your frustration, especially since both are Microsoft products.

Our Clarity team currently focuses on supporting frameworks with larger user bases due to resource constraints.

We will continue to monitor MAUI's growth and may consider supporting it in the future if its adoption increases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
apps Issues specific to Clarity Apps SDK
Projects
None yet
Development

No branches or pull requests

6 participants