-
-
Notifications
You must be signed in to change notification settings - Fork 735
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: Missing Proguard rules for R8 in full mode #1196
Conversation
I will reformat the title to use the proper commit message syntax. |
Thanks for opening this pull request!
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good
Is this ready for merge? I've changed this to a feat
PR, since it seems to add support for Gradle 8 to the Parse SDK.
That's not quite correct. But fixes some release issues with ProGuard and R8 |
I assumed so because the issues don't seem to have these occurred so far. Is this an adaptation for Gradle 8 or is this also a bug for Gradle <8? |
Maybe we should start adding a gradle matrix to the CI where we test with different gradle versions - would that make sense? |
Hey @mtrezza the issues which the developers are reporting are runtime. Because of wrong ProGuard rules after magnification is done Parse classes are erased and when you run the app it crashes. I need to think about if there can be some tests covering the cases by building and running simple app using parse via some instrumentation test and check whatever it crash or not. |
Ok, so the minification is the core issue here. If we can't find a test (soon) we can also just merge this fix for now and open a new issue to add a test, so we don't forget it. Other than that, wouod it still male sense to run the CI with multiple Gradle or Android versions? If so, I'll open a separate issue for that. |
@azlekov This PR got somewhat stale, can we merge this or is there anything that is worth discussing beforehand? |
Codecov ReportPatch and project coverage have no change.
Additional details and impacted files@@ Coverage Diff @@
## master #1196 +/- ##
======================================
Coverage 0.00% 0.00%
======================================
Files 122 122
Lines 9971 9971
Branches 1345 1345
======================================
Misses 9971 9971 ☔ View full report in Codecov by Sentry. |
I will reformat the title to use the proper commit message syntax. |
Great! I've just slightly edited the title as it should describe the actual issue. Otherwise I think this is ready for merge? |
Yes, go go go! 🚗 |
## [4.2.1](4.2.0...4.2.1) (2023-08-25) ### Bug Fixes * Missing Proguard rules for R8 in full mode ([#1196](#1196)) ([7db0965](7db0965))
🎉 This change has been released in version 4.2.1 |
New Pull Request Checklist
Issue Description
Closes: #1194
Approach
TODOs before merging