Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit d1c6054

Browse files
committed
Merge pull request #133 from Microsoft/ios_debug
Only clear update state in release mode
2 parents cad43b8 + a73e48a commit d1c6054

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

CodePush.m

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,10 @@ + (NSURL *)bundleURLForResource:(NSString *)resourceName
7676
NSLog(logMessageFormat, packageUrl);
7777
return packageUrl;
7878
} else {
79+
#ifndef DEBUG
7980
[CodePush clearUpdates];
81+
#endif
82+
8083
NSLog(logMessageFormat, binaryJsBundleUrl);
8184
return binaryJsBundleUrl;
8285
}

0 commit comments

Comments
 (0)