microsoft / clarity-apps

Repo for distributing Clarity Apps packages
MIT License
46 stars 2 forks source link

Android sdk doesn't support AndroidComposeView #26

Closed mvij closed 4 months ago

mvij commented 11 months ago

Microsoft clarity sdk version : 2.0.0 Device : Oneplus 7pro Android : 12

The screen recording taken on the device is completely black, where screen touches and taps are getting recorded but nothing else is visible Screenshot 2023-12-13 at 15-54-37 Microsoft Clarity - Free Heatmaps   Session Recordings

Heatmap shows up like this

Screenshot 2023-12-13 at 16-21-47 Microsoft Clarity - Free Heatmaps   Session Recordings

Is android compose view not supported?

ibradwan commented 11 months ago

Hi @mvij,

Thanks for sharing the feedback, we currently have limited support for JetPack compose. We do have plans to enhance the support so please stay tuned.

axitasavani commented 7 months ago

Hi, @mvij and @ibradwan I have faced the same issue with my app in that some of the components are not showing up in recordings. and some of the cut the UI. Could you please solution while here...

ibradwan commented 7 months ago

The Jetpack compose package is expected to be published soon, so please stay tuned.

TohidMahmamoudvand commented 5 months ago

I have the same issue, When will this issue be solved? @ibradwan

nikhilbiju67 commented 4 months ago

Any update on the support of jetpack compose? @ibradwan

IvanLarenas commented 4 months ago

@ibradwan is the support for jetpack compose out already?

ibradwan commented 4 months ago

We've just released our first compose package (clarity-compose) 😀 Please give it a shot and let us know your feedback.

nikhilbiju67 commented 4 months ago

Hey i am using implementation("com.microsoft.clarity:clarity-compose:2.5.0") but it still compose views are not shown in dashboard @ibradwan

leinardi commented 4 months ago

@ibradwan is there some documentation or a sample project that shows how to use clarity with compose?

ibradwan commented 4 months ago

Yes, please check this link.

souravLevel commented 3 months ago

@ibradwan Still facing the same issue mentioned above with jetpack compose. It would be great if you could give us an update regarding the same. Thank you in advance

Screenshot 2024-08-03 005504

SaadeldinBadr commented 3 months ago

Hello @souravLevel Which version of compose are you using?

dennymoradiya commented 2 months ago

is there any final solution? @SaadeldinBadr i am facing empty screen recording issue for both android and ios

leinardi commented 2 months ago

I'm also facing the very same issue. I'm currently using Compose 1.7.0, and I understand that the latest officially supported version is 1.6.8, so this might be related.

image

As you know, Compose evolves rapidly, and for us to be able to fully adopt Clarity, it's crucial that this library stays up to date with the latest versions. I’d also like to suggest considering support for non-stable versions of Compose (alpha and beta), as many important fixes and new features are introduced in these early releases. While I understand the caution against using alpha versions in production, Compose feels like one of the rare exceptions where the benefits—like fixing specific bugs—often outweigh the risks.

Woren commented 2 months ago

I suggest to create new issue with request for supporting alpha/beta versions or trying to "decouple" clarity/compose that there are not such requirements for updating clarity with new version of compose. If that is even possible. This issue is already closed.

leinardi commented 2 months ago

@Woren oh I didn't notice that was already closed, I'll open new ones for my issues, thanks.

SaadeldinBadr commented 2 months ago

Hello everyone,

As mentioned here Supported Jetpack Compose Versions, clarity-compose:2.5.0 only supports stable compose releases from 1.0.0 to 1.6.8. Please check your compose version to ensure compatibility. In future Clarity releases, we plan to support upcoming compose versions, including alpha & beta releases, as compose evolves rapidly.

dennymoradiya commented 2 months ago

I am using 2.5.0, but still facing this problem