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

Enabling R8 Full mode breaks the demo apps #652

Closed
Andr3Carvalh0 opened this issue Dec 7, 2023 · 2 comments
Closed

Enabling R8 Full mode breaks the demo apps #652

Andr3Carvalh0 opened this issue Dec 7, 2023 · 2 comments
Labels
status:completed Completed - but might not be released yet. type:defect Bugs or weaknesses. The issue has to contain steps to reproduce.
Milestone

Comments

@Andr3Carvalh0
Copy link

Andr3Carvalh0 commented Dec 7, 2023

Describe the bug
When R8 full mode is on, the demo code breaks. This is important cause from gradle version 8.0+ R8 full mode is on by default

To Reproduce
Ive created a demo here. All you need to do is build the release variant of the snowplow-demo-compose

Expected behavior
Whether R8 full mode is on or off tracking should work

Screenshots
When I compile the demo with the android.enableR8.fullMode set to true, I get this error
Screenshot 2023-12-07 at 18 03 46

If I still minify the app, but disable R8 Full mode, the app works normally

Device informatoin (please complete the following information):

  • Device: Any
  • OS: Any
  • Version: Any

Only requirement is that you minify your code using R8 full mode

@Andr3Carvalh0 Andr3Carvalh0 added the type:defect Bugs or weaknesses. The issue has to contain steps to reproduce. label Dec 7, 2023
@matus-tomlein
Copy link
Contributor

Thanks for reporting this @Andr3Carvalh0, we will look into it!

@eygraber
Copy link

Looks similar to an issue I've had in the past - https://issuetracker.google.com/issues/188703877

@mscwilson mscwilson added the status:completed Completed - but might not be released yet. label Jan 26, 2024
@mscwilson mscwilson mentioned this issue Feb 1, 2024
@matus-tomlein matus-tomlein added this to the 6.0.0 milestone Feb 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:completed Completed - but might not be released yet. type:defect Bugs or weaknesses. The issue has to contain steps to reproduce.
Projects
None yet
Development

No branches or pull requests

4 participants