This commit is contained in:
Geoffrey Goh
2016-02-05 22:59:54 -08:00
parent 02e556d73d
commit 340bb7e74a
3 changed files with 9 additions and 5 deletions

View File

@@ -539,10 +539,12 @@ public class CodePush {
@ReactMethod
public void notifyApplicationReady(Promise promise) {
// We only mark a pending update as succeeded only if it update has been booted up,
// during which `didUpdate` is true.
if (didUpdate) {
removePendingUpdate();
}
promise.resolve("");
}