diff --git a/CodePush.m b/CodePush.m index 4118b97..bba73ed 100644 --- a/CodePush.m +++ b/CodePush.m @@ -76,7 +76,10 @@ static NSString *const PackageIsPendingKey = @"isPending"; NSLog(logMessageFormat, packageUrl); return packageUrl; } else { +#ifndef DEBUG [CodePush clearUpdates]; +#endif + NSLog(logMessageFormat, binaryJsBundleUrl); return binaryJsBundleUrl; }