microsoft / clarity

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

WebView inside Android and iOS doesnt have CSS (.NET MAUI Hybrid) #636

Open Kebechet opened 2 months ago

Kebechet commented 2 months ago

We have MAUI Blazor app and we tried to wire it the same way as websites are. Just with the use of JS script in header. Clarity was able to create a connection but on recording it didnt load the CSS:

image

I suppose it is connected to: https://github.com/microsoft/clarity/issues/326

kirazbaysal commented 2 months ago

Could you please reach out to our support on clarityms@microsoft.com and send us your projectID along with this information, so we can look into it?

Kebechet commented 2 months ago

Could you please reach out to our support on clarityms@microsoft.com and send us your projectID along with this information, so we can look into it?

email sent

Kebechet commented 1 month ago

The problem with this is that Clarity requires publicly available CSS. Our hybrid app has it only locally, thats why it didnt work correctly.

Workaround: Put your local styles also somewhere publicly available and link them in your hybrid app as well.

Proper way to fix this is for clarity to start supporting private styles as well