mirror of
https://github.com/zhigang1992/react-native-code-push.git
synced 2026-05-14 02:14:52 +08:00
Fix comparison method in setJSBundle (#587)
This commit is contained in:
committed by
Richard Hua
parent
641caddd86
commit
5bcea7be35
@@ -106,7 +106,7 @@ public class CodePushNativeModule extends ReactContextBaseJavaModule {
|
||||
|
||||
Method[] methods = jsBundleLoaderClass.getDeclaredMethods();
|
||||
for (Method method : methods) {
|
||||
if (method.getName() == "createFileLoader") {
|
||||
if (method.getName().equals("createFileLoader")) {
|
||||
createFileLoaderMethod = method;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user