Skip to content

Commit c39fa0d

Browse files
Replace App Store version with binary version in docs (microsoft#1614)
1 parent 7cf8ef1 commit c39fa0d

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

CodePush.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ async function checkForUpdate(deploymentKey = null, handleBinaryVersionMismatchC
3939
* then we want to use its package hash to determine whether a new
4040
* release has been made on the server. Otherwise, we only need
4141
* to send the app version to the server, since we are interested
42-
* in any updates for current app store version, regardless of hash.
42+
* in any updates for current binary version, regardless of hash.
4343
*/
4444
let queryPackage;
4545
if (localPackage) {
@@ -58,7 +58,7 @@ async function checkForUpdate(deploymentKey = null, handleBinaryVersionMismatchC
5858
* ----------------------------------------------------------------
5959
* 1) The server said there isn't an update. This is the most common case.
6060
* 2) The server said there is an update but it requires a newer binary version.
61-
* This would occur when end-users are running an older app store version than
61+
* This would occur when end-users are running an older binary version than
6262
* is available, and CodePush is making sure they don't get an update that
6363
* potentially wouldn't be compatible with what they are running.
6464
* 3) The server said there is an update, but the update's hash is the same as

docs/api-ios.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ The `CodePush` class' methods can be thought of as composite resolvers which alw
1212

1313
2. As soon as you begin releasing CodePush updates, your end-users will get the JS bundle that represents the latest release for the configured deployment. This is the behavior that allows you to iterate beyond what you shipped to the store.
1414

15-
3. As soon as you release an update to the app store (like `1.1.0`), and your end-users update it, they will once again get the JS bundle that is contained within the binary. This behavior ensures that CodePush updates that targetted a previous app store version aren't used (since we don't know if they would work), and your end-users always have a working version of your app.
15+
3. As soon as you release an update to the app store (like `1.1.0`), and your end-users update it, they will once again get the JS bundle that is contained within the binary. This behavior ensures that CodePush updates that targetted a previous binary version aren't used (since we don't know if they would work), and your end-users always have a working version of your app.
1616

1717
4. Repeat #2 and #3 as the CodePush releases and app store releases continue on into infinity (and beyond?)
1818

ios/CodePush/CodePush.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
/*
4646
* This method allows the version of the app's binary interface
4747
* to be specified, which would otherwise default to the
48-
* App Store version of the app.
48+
* binary version of the app.
4949
*/
5050
+ (void)overrideAppVersion:(NSString *)appVersion;
5151

0 commit comments

Comments
 (0)