From 862d4ddc32e7d42c0f8a8e699ebecac8b5288566 Mon Sep 17 00:00:00 2001 From: Jonathan Carter Date: Fri, 4 Dec 2015 14:19:14 -0800 Subject: [PATCH] Fixing ambiguity and typo --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index bc7ba71..b8ba6a5 100644 --- a/README.md +++ b/README.md @@ -94,7 +94,7 @@ This change configures your app to always load the most recent version of your a To let the CodePush runtime know which deployment it should query for updates against, perform the following steps: -1. Open your app's `Info.plist` file and add a new entry named `CodePushDeploymentKey`, whose value is the key of the deployment you want to configure this app against (e.g. the Staging deployment for FooBar app). You can retreive this value by running `code-push deployment ls ` in the CodePush CLI, and copying the value of the `Deployment Key` column which corresponds to the deployment you want to use (see below). Note that using the deployment's name (e.g. Staging) will not work. That "friendly name" is intended only for authenticated management usage from the CLI, and not for public consumption within your app. +1. Open your app's `Info.plist` file and add a new entry named `CodePushDeploymentKey`, whose value is the key of the deployment you want to configure this app against (e.g. the key for the `Staging` deployment for the `FooBar` app). You can retrieve this value by running `code-push deployment ls ` in the CodePush CLI, and copying the value of the `Deployment Key` column which corresponds to the deployment you want to use (see below). Note that using the deployment's name (e.g. Staging) will not work. That "friendly name" is intended only for authenticated management usage from the CLI, and not for public consumption within your app. ![Deployment list](https://cloud.githubusercontent.com/assets/116461/11601733/13011d5e-9a8a-11e5-9ce2-b100498ffb34.png) @@ -232,7 +232,7 @@ codePush.checkForUpdate() codePush.getCurrentPackage(): Promise; ``` -Retreives the metadata about the currently installed "package" (e.g. description, installation time). This can be useful for scenarios such as displaying a "what's new?" dialog after an update has been applied. +Retrieves the metadata about the currently installed "package" (e.g. description, installation time). This can be useful for scenarios such as displaying a "what's new?" dialog after an update has been applied. This method returns a `Promise` which resolves to the `LocalPackage` instance that represents the currently running update.