Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit 5bcea7b

Browse files
Swordsman-InactionRichard Hua
authored andcommitted
Fix comparison method in setJSBundle (#587)
1 parent 641cadd commit 5bcea7b

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
@@ -106,7 +106,7 @@ private void setJSBundle(ReactInstanceManager instanceManager, String latestJSBu
106106

107107
Method[] methods = jsBundleLoaderClass.getDeclaredMethods();
108108
for (Method method : methods) {
109-
if (method.getName() == "createFileLoader") {
109+
if (method.getName().equals("createFileLoader")) {
110110
createFileLoaderMethod = method;
111111
break;
112112
}

0 commit comments

Comments
 (0)