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

Support for compose 1.7.+ #716

Open
prudak-listonic opened this issue Nov 27, 2024 · 8 comments
Open

Support for compose 1.7.+ #716

prudak-listonic opened this issue Nov 27, 2024 · 8 comments
Assignees
Labels
apps Issues specific to Clarity Apps SDK

Comments

@prudak-listonic
Copy link

Hello, my team and I are working on a project, which uses Compose 1.7.3 (BOM 2024.09.03). It seems this version isn't supported by Clarity yet, causing app screens to appear blank in recordings and heatmaps.
Perhaps there are already plans on adding support for version 1.7.+? If so, could you provide an estimated timeline? And if not, I'd like to request adding it to your roadmap.

@ibradwan ibradwan added the apps Issues specific to Clarity Apps SDK label Nov 28, 2024
@prudak-listonic
Copy link
Author

@ibradwan @SaadeldinBadr
Hello, I would appreciate any update regarding this issue - is there any chance it will be resolved soon?

@ibradwan
Copy link
Collaborator

ibradwan commented Jan 3, 2025

@prudak-listonic yes, we already have a version in the pipeline that supports 1.7-1.8. We'll update this thread once released!

@SaadeldinBadr
Copy link

Hello @prudak-listonic ,
We've just released clarity-compose:3.1.0 , which supports jetpack compose 1.7.*
Please give it a try and let us know if you have any issue.

@prudak-listonic
Copy link
Author

prudak-listonic commented Jan 17, 2025

Hello @SaadeldinBadr
Thank you for your answer! I've just found some time to test the newest version, but unfortunately I've encountered another issue.

Clarity-compose gets downloaded during the gradle sync without any problems, but only up to version 3.0.1. It seems I can't download any of the two newest versions (3.0.2 and 3.1.0).
The gradle sync in this case behaves as if those versions didn't exist - it finishes with a Failed to resolve error.

Do you have any ideas what might be the cause?

@ibradwan
Copy link
Collaborator

ibradwan commented Jan 17, 2025

Hi @prudak-listonic,

Please try to add this to your app build.gradle file under android > defaultConfig section:

android {
    defaultConfig {
        ....
        missingDimensionStrategy("environment", "prod")
    }
}

This should be a stopgap solution until we fix this issue.

@prudak-listonic
Copy link
Author

@ibradwan
Well, now the clarity module indeed gets downloaded, however this time due to the line you've asked me to add, I get a bunch of Failed to resolve errors for each of our project's modules.

@SaadeldinBadr
Copy link

Hello @prudak-listonic,
We have just released “clarity-compose :3.1.1” that should fix the failed to resolve issue, please give it a try and let us know if it works for you.

@prudak-listonic
Copy link
Author

Hi @SaadeldinBadr,
Yes, now it works like a charm, thank you very much!

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

3 participants