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 9f710ef..bd9fc21 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 @@ -203,7 +203,7 @@ public class CodePush { rollbackPackage(); } else { // Clear the React dev bundle cache so that new updates can be loaded. - if (!this.isDebugMode) { + if (this.isDebugMode) { clearReactDevBundleCache(); } // Mark that we tried to initialize the new update, so that if it crashes,