diff --git a/android/app/src/main/java/com/microsoft/codepush/react/CodePush.java b/android/app/src/main/java/com/microsoft/codepush/react/CodePush.java index 7bbd414..2c68754 100644 --- a/android/app/src/main/java/com/microsoft/codepush/react/CodePush.java +++ b/android/app/src/main/java/com/microsoft/codepush/react/CodePush.java @@ -104,10 +104,6 @@ public class CodePush implements ReactPackage { throw new CodePushUnknownException("Unable to get package info for " + applicationContext.getPackageName(), e); } - if (currentInstance != null) { - CodePushUtils.log("More than one CodePush instance has been initialized. Please use the instance method codePush.getBundleUrlInternal() to get the correct bundleURL for a particular instance."); - } - currentInstance = this; clearDebugCacheIfNeeded(); @@ -780,4 +776,4 @@ public class CodePush implements ReactPackage { public List createViewManagers(ReactApplicationContext reactApplicationContext) { return new ArrayList<>(); } -} \ No newline at end of file +}