Skip to content

Commit c469ca3

Browse files
committed
fix android reload failure
1 parent 9c6aff0 commit c469ca3

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
@@ -747,7 +747,7 @@ public void removeListeners(Integer count) {
747747
public ReactHostDelegate getReactHostDelegate(ReactHostImpl reactHostImpl) {
748748
try {
749749
Class<?> clazz = reactHostImpl.getClass();
750-
Field field = clazz.getDeclaredField("mReactHostDelegate");
750+
Field field = clazz.getDeclaredField("reactHostDelegate");
751751
field.setAccessible(true);
752752

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

0 commit comments

Comments
 (0)