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

Fix demo crash when using R8 full mode (close #652) #663

Merged
merged 2 commits into from Jan 25, 2024

Conversation

mscwilson
Copy link
Contributor

For issue #652.

The crash in the Compose demo was caused by missing Retrofit classes when full R8 minification/shrinking is used. This PR adds ProGuard exemption rules for the relevant classes.

Also, dependencies for getting the appSetId and androidIdfa (AAID) platform context entity properties have been added to the Compose demo, along with ProGuard rules so that they still work with R8.

@mscwilson mscwilson changed the title Fix demo crash when using R8 full mode Fix demo crash when using R8 full mode (close #652) Jan 24, 2024
Copy link
Contributor

@matus-tomlein matus-tomlein left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

#-renamesourcefileattribute SourceFile

# Fixes R8 full mode crash
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should also add these to the setup section in the docs.

@mscwilson mscwilson force-pushed the issue/r8_full_mode_reflection_bug branch from 85e3b1c to a395390 Compare January 25, 2024 15:48
@mscwilson mscwilson merged commit c51096d into release/6.0.0 Jan 25, 2024
3 checks passed
@mscwilson mscwilson deleted the issue/r8_full_mode_reflection_bug branch January 25, 2024 16:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants