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

Commit 725adc8

Browse files
committed
Updating docs
1 parent 57390ef commit 725adc8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ If you are using the `sync` function, and doing your update check on app start,
339339
codePush.restartApp(onlyIfUpdateIsPending: Boolean = false): void;
340340
```
341341
342-
Immediately restarts the app. If there is an update pending, it will be presented to the end user and the "rollback protection" feature will ensure it succeeds. Otherwise, calling this method simply has the same behavior as the end user killing and restarting the process. If a truthy value is passed to the `onlyIfUpdateIsPending` parameter, then the app will only be restarted if there is actually a pending update waiting to be applied. Otherwise, this method call will no-op.
342+
Immediately restarts the app. If a truthy value is provided to the `onlyIfUpdateIsPending` parameter, then the app will only restart if there is actually a pending update waiting to be applied.
343343

344344
This method is for advanced scenarios, and is primarily useful when the following conditions are true:
345345

0 commit comments

Comments
 (0)