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

Commit 32792cc

Browse files
committed
Fix typos
1 parent af2a5c6 commit 32792cc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -567,7 +567,7 @@ While the `sync` method tries to make it easy to perform silent and active updat
567567

568568
* __mandatoryInstallMode__ *(codePush.InstallMode)* - Specifies when you would like to install updates which are marked as mandatory. Defaults to `codePush.InstallMode.IMMEDIATE`. Refer to the [`InstallMode`](#installmode) enum reference for a description of the available options and what they do.
569569

570-
* __minimumBackgroundDuration__ *(Number)* - Specifies the minimum number of seconds that the app needs to have been in the background before restarting the app to apply the udpate. This property only applies to updates which are installed using `InstallMode.ON_NEXT_RESUME`, and can be useful for getting your update in front of end users sooner, without being too obtrusive. Defaults to `0`, which has the effect of applying the update immediately after a resume, regardless how long it was in the background.
570+
* __minimumBackgroundDuration__ *(Number)* - Specifies the minimum number of seconds that the app needs to have been in the background before restarting the app. This property only applies to updates which are installed using `InstallMode.ON_NEXT_RESUME`, and can be useful for getting your update in front of end users sooner, without being too obtrusive. Defaults to `0`, which has the effect of applying the update immediately after a resume, regardless how long it was in the background.
571571

572572
* __updateDialog__ *(UpdateDialogOptions)* - An "options" object used to determine whether a confirmation dialog should be displayed to the end user when an update is available, and if so, what strings to use. Defaults to `null`, which has the effect of disabling the dialog completely. Setting this to any truthy value will enable the dialog with the default strings, and passing an object to this parameter allows enabling the dialog as well as overriding one or more of the default strings. Before enabling this option within an App Store-distributed app, please refer to [this note](#user-content-apple-note).
573573

ios/CodePush/CodePush.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ - (void)savePendingUpdate:(NSString *)packageHash
389389
- (void)applicationWillEnterForeground
390390
{
391391
// Determine how long the app was in the background and ensure
392-
// that it meets the minimum amount of time requsted.
392+
// that it meets the minimum duration amount of time.
393393
int durationInBackground = [[NSDate date] timeIntervalSinceDate:_lastResignedDate];
394394
if (durationInBackground >= _minimumBackgroundDuration) {
395395
[self loadBundle];

0 commit comments

Comments
 (0)