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(android): preserve new-arch classnames used in backwards-compat logic #1149

Merged
merged 2 commits into from
Nov 25, 2024

Conversation

mikehardy
Copy link
Collaborator

We use dynamic class-loading via reflection to determine if we are in new architecture mode or not and load the ReactContext

If we don't correctly preserve those names in minimization, we will crash in a new architecture context on release builds as the class names will have moved during the minimization

…ogic

We use dynamic class-loading via reflection to determine if we are in new
architecture mode or not and load the ReactContext

If we don't correctly preserve those names in minimization, we will crash
in a new architecture context on release builds as the class names will have
moved during the minimization
@mikehardy mikehardy added the pending-merge Waiting on CI or question responses to merge, but otherwise ready label Nov 25, 2024
Copy link

codecov bot commented Nov 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 77.08%. Comparing base (ae2953b) to head (677d345).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1149   +/-   ##
=======================================
  Coverage   77.08%   77.08%           
=======================================
  Files          32       32           
  Lines        1727     1727           
  Branches      556      579   +23     
=======================================
  Hits         1331     1331           
  Misses        395      395           
  Partials        1        1           

@mikehardy mikehardy removed the pending-merge Waiting on CI or question responses to merge, but otherwise ready label Nov 25, 2024
@mikehardy mikehardy merged commit a48abc1 into main Nov 25, 2024
8 of 9 checks passed
@mikehardy mikehardy deleted the fix-release-mode-headlessJS branch November 25, 2024 19:01
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.

1 participant