This commit is contained in:
Geoffrey Goh
2015-12-10 10:41:58 -08:00
parent bed70059cf
commit a9015761c9
2 changed files with 2 additions and 2 deletions

View File

@@ -119,7 +119,7 @@ static NSString *const PendingUpdateWasInitializedKey = @"wasInitialized";
_isFirstRunAfterUpdate = YES;
BOOL wasInitialized = [pendingUpdate[PendingUpdateWasInitializedKey] boolValue];
if (wasInitialized) {
// Pending update was initialized, but notifiyApplicationReady was not called.
// Pending update was initialized, but notifyApplicationReady was not called.
// Therefore, deduce that it is a broken update and rollback.
[self rollbackPackage];
} else {

View File

@@ -232,7 +232,7 @@ public class CodePush {
try {
boolean wasInitialized = pendingUpdate.getBoolean(PENDING_UPDATE_WAS_INITIALIZED_KEY);
if (wasInitialized) {
// Pending update was initialized, but notifiyApplicationReady was not called.
// Pending update was initialized, but notifyApplicationReady was not called.
// Therefore, deduce that it is a broken update and rollback.
rollbackPackage();
} else {