mirror of
https://github.com/zhigang1992/react-native-code-push.git
synced 2026-06-10 15:49:36 +08:00
Only clearing state in release
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user