Skip to content

RUM-7894: Fix proguard rules for compose checkbox#2470

Merged
jonathanmos merged 1 commit into
developfrom
jmoskovich/rum-7894/fix-checkbox-proguard
Dec 31, 2024
Merged

RUM-7894: Fix proguard rules for compose checkbox#2470
jonathanmos merged 1 commit into
developfrom
jmoskovich/rum-7894/fix-checkbox-proguard

Conversation

@jonathanmos

@jonathanmos jonathanmos commented Dec 30, 2024

Copy link
Copy Markdown
Member

What does this PR do?

Checkbox is not visible in obfuscated apks. From an investigation it looks like we need to use keep over keepClassMembers, and also that the class name for CheckboxKt should be changed.

Motivation

What inspired you to submit this pull request?

Additional Notes

Anything else we should know when reviewing?

Review checklist (to be filled by reviewers)

  • Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
  • Make sure you discussed the feature or bugfix with the maintaining team in an Issue
  • Make sure each commit and the PR mention the Issue number (cf the CONTRIBUTING doc)

@jonathanmos jonathanmos changed the title Fix proguard rules for compose checkbox RUM-7894: Fix proguard rules for compose checkbox Dec 30, 2024
@jonathanmos
jonathanmos force-pushed the jmoskovich/rum-7894/fix-checkbox-proguard branch from 2635b7a to cc0834b Compare December 30, 2024 16:36
@codecov-commenter

codecov-commenter commented Dec 30, 2024

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 69.96%. Comparing base (f61a42c) to head (cc0834b).
Report is 4 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #2470      +/-   ##
===========================================
+ Coverage    69.95%   69.96%   +0.01%     
===========================================
  Files          786      786              
  Lines        29298    29299       +1     
  Branches      4889     4891       +2     
===========================================
+ Hits         20493    20497       +4     
+ Misses        7439     7435       -4     
- Partials      1366     1367       +1     

see 37 files with indirect coverage changes

@jonathanmos
jonathanmos marked this pull request as ready for review December 31, 2024 08:27
@jonathanmos
jonathanmos requested review from a team as code owners December 31, 2024 08:27
@ambushwork

Copy link
Copy Markdown
Member

Question about the description "that the path for CheckboxKt should be different."

it should be different from what? from debug?

@jonathanmos
jonathanmos merged commit c29bc1f into develop Dec 31, 2024
@jonathanmos
jonathanmos deleted the jmoskovich/rum-7894/fix-checkbox-proguard branch December 31, 2024 09:13
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.

4 participants