This commit is contained in:
Geoffrey Goh
2016-02-06 13:55:20 -08:00
parent f42bd71ccc
commit 360fb334d0
2 changed files with 2 additions and 2 deletions

View File

@@ -507,7 +507,7 @@ RCT_EXPORT_METHOD(notifyApplicationReady:(RCTPromiseResolveBlock)resolve
rejecter:(RCTPromiseRejectBlock)reject)
{
// We only mark a pending update as succeeded only if it has been booted up
// successfully, during which `didUpdate` is set to true.
// successfully, during which `_isFirstRunAfterUpdate` is set to true.
if (_isFirstRunAfterUpdate) {
[CodePush removePendingUpdate];
}