mirror of
https://github.com/zhigang1992/react-native-code-push.git
synced 2026-06-19 01:46:00 +08:00
typo
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user