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

Commit 5a3ac5e

Browse files
committed
Fixing method name typo
1 parent a20e4a2 commit 5a3ac5e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CodePush.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ - (void)startRollbackTimer:(int)rollbackTimeout
448448
* This method isn't publically exposed via the "react-native-code-push"
449449
* module, and is only used internally to support immediately installed updates.
450450
*/
451-
RCT_EXPORT_METHOD(restartImmedidateUpdate:(int)rollbackTimeout)
451+
RCT_EXPORT_METHOD(restartImmediateUpdate:(int)rollbackTimeout)
452452
{
453453
[self initializeUpdateWithRollbackTimeout:rollbackTimeout needsRestart:YES];
454454
}

package-mixins.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ module.exports = (NativeCodePush) => {
4040
.then(function() {
4141
updateInstalledCallback && updateInstalledCallback();
4242
if (installMode == NativeCodePush.codePushInstallModeImmediate) {
43-
NativeCodePush.restartImmedidateUpdate(rollbackTimeout);
43+
NativeCodePush.restartImmediateUpdate(rollbackTimeout);
4444
};
4545
});
4646
}

0 commit comments

Comments
 (0)