Skip to content

Commit 99ea2b7

Browse files
elio-wrtnkmsbernard
authored andcommitted
fix android reload failure
1 parent b68dad5 commit 99ea2b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

android/app/src/main/java/com/microsoft/codepush/react/CodePushNativeModule.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -858,7 +858,7 @@ public void removeListeners(Integer count) {
858858
public ReactHostDelegate getReactHostDelegate(ReactHostImpl reactHostImpl) {
859859
try {
860860
Class<?> clazz = reactHostImpl.getClass();
861-
Field field = clazz.getDeclaredField("mReactHostDelegate");
861+
Field field = clazz.getDeclaredField("reactHostDelegate");
862862
field.setAccessible(true);
863863

864864
// Get the value of the field for the provided instance

0 commit comments

Comments
 (0)