Skip to content

Fix ReactHostDelegate ProGuard rule#54

Merged
kmsbernard merged 1 commit into
masterfrom
codex/fix-proguard-rules-only
Jun 24, 2026
Merged

Fix ReactHostDelegate ProGuard rule#54
kmsbernard merged 1 commit into
masterfrom
codex/fix-proguard-rules-only

Conversation

@kmsbernard

Copy link
Copy Markdown
Collaborator

Adds reactHostDelegate to the Android consumer ProGuard rules for ReactHostImpl.

When ProGuard / R8 minification is enabled, CodePush uses reflection to access ReactHostImpl.reactHostDelegate in the new architecture path. If that field name is obfuscated, the reflective lookup can fail and the updated JS bundle may not be applied on the first restart after an update.

@kmsbernard kmsbernard merged commit 1c7b17a into master Jun 24, 2026
0 of 4 checks passed
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