Merge pull request #133 from Microsoft/ios_debug

Only clear update state in release mode
This commit is contained in:
Jonathan Carter
2015-12-28 11:37:43 -08:00

View File

@@ -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;
}