You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 20, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -87,7 +87,7 @@ Once you've acquired the CodePush plugin, you need to integrate it into the Xcod
87
87
88
88
### Plugin Installation (iOS)
89
89
90
-
In order to accomodate as many developer preferences as possible, the CodePush plugin supports iOS installation via three mechanisms:
90
+
In order to accommodate as many developer preferences as possible, the CodePush plugin supports iOS installation via three mechanisms:
91
91
92
92
1.[**RNPM**](#plugin-installation-ios---rnpm) - [React Native Package Manager (RNPM)](https://github.com/rnpm/rnpm) is an awesome tool that provides the simplest installation experience possible for React Native plugins. If you're already using it, or you want to use it, then we recommend this approach.
93
93
@@ -199,7 +199,7 @@ In order to integrate CodePush into your Android project, perform the following
199
199
200
200
### Plugin Installation (Android)
201
201
202
-
In order to accomodate as many developer preferences as possible, the CodePush plugin supports Android installation via two mechanisms:
202
+
In order to accommodate as many developer preferences as possible, the CodePush plugin supports Android installation via two mechanisms:
203
203
204
204
1. [**RNPM**](#plugin-installation-android---rnpm) - [React Native Package Manager (RNPM)](https://github.com/rnpm/rnpm) is an awesome tool that provides the simplest installation experience possible for React Native plugins. If you're already using it, or you want to use it, then we recommend this approach.
205
205
@@ -450,7 +450,7 @@ Taking advantage of the `Staging` and `Production` deployments allows you to ach
450
450
451
451
*NOTE: If you want to get really fancy, you can even choose to perform a "staged rollout" as part of #3, which allows you to mitigate additional potential risk with the update (e.g. did your testing in #2 touch all possible devices/conditions?) by only making the production update available to a percentage of your users (e.g. `code-push promote <APP_NAME> Staging Production -r 20%`). Then, after waiting for a reasonable amount of time to see if any crash reports or customer feedback comes in, you can expand it to your entire audience by running `code-push patch <APP_NAME> Production -r 100%`.*
452
452
453
-
You'll notice that the above steps refer to a "staging build" and "production build"of your app. If your build process already generates distinct binaries per "environment", then you don't need to read any further, since swapping out CodePush deployment keys is just like handling environment-specific config for any other service your app uses (e.g. Facebook). However, if you're looking for examples on how to setup your build process to accomodatethis, then refer to the following sections, depending on the platform(s) your app is targeting.
453
+
You'll notice that the above steps refer to a "staging build" and "production build"of your app. If your build process already generates distinct binaries per "environment", then you don't need to read any further, since swapping out CodePush deployment keys is just like handling environment-specific config for any other service your app uses (e.g. Facebook). However, if you're looking for examples on how to setup your build process to accommodatethis, then refer to the following sections, depending on the platform(s) your app is targeting.
454
454
455
455
### Android
456
456
@@ -1045,7 +1045,7 @@ The Objective-C API is made available by importing the `CodePush.h` header into
1045
1045
1046
1046
Contains static methods for retreiving the `NSURL` that represents the most recent JavaScript bundle file, and can be passed to the `RCTRootView`'s `initWithBundleURL` method when bootstrapping your app in the `AppDelegate.m` file.
1047
1047
1048
-
The `CodePush` class' methods can be thought of as composite resolvers which always load the appropriate bundle, in order to accomodate the following scenarios:
1048
+
The `CodePush` class' methods can be thought of as composite resolvers which always load the appropriate bundle, in order to accommodate the following scenarios:
1049
1049
1050
1050
1. When an end-user installs your app from the store (e.g. `1.0.0`), they will get the JS bundle that is contained within the binary. This is the behavior you would get without using CodePush, but we make sure it doesn't break :)
0 commit comments