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

Commit 78fe939

Browse files
committed
android clear updates
1 parent e65aaaa commit 78fe939

File tree

1 file changed

+1
-0
lines changed
  • android/app/src/main/java/com/microsoft/codepush/react

1 file changed

+1
-0
lines changed

android/app/src/main/java/com/microsoft/codepush/react/CodePush.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ public String getBundleUrl(String assetsBundleFileName) {
145145
} else {
146146
// The binary version is newer.
147147
didUpdate = false;
148+
this.clearUpdates();
148149
CodePushUtils.logBundleUrl(binaryJsBundleUrl);
149150
return binaryJsBundleUrl;
150151
}

0 commit comments

Comments
 (0)