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

Commit 2865f7b

Browse files
committed
Minor fixes
1 parent 0119e7d commit 2865f7b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ The CodePush plugin helps get product improvements in front of your end-users in
1717
- iOS
1818
- Android
1919

20-
*Note: CodePush 1.3.0 requires v0.14.0+ of React Native, and CodePush 1.4.0 requires v0.15.0+ of React Native, so much sure you are using the right version of the CodePush plugin.*
20+
*Note: CodePush 1.3.0 requires v0.14.0+ of React Native, and CodePush 1.4.0 requires v0.15.0+ of React Native, so make sure you are using the right version of the CodePush plugin.*
2121

2222
## Getting Started
2323

@@ -45,7 +45,7 @@ Once you've acquired the CodePush plugin, you need to integrate it into the Xcod
4545

4646
![Libz reference](https://cloud.githubusercontent.com/assets/116461/11605042/6f786e64-9aaa-11e5-8ca7-14b852f808b1.png)
4747

48-
*Note: Alternatively, you could add the `-lz` flag to the `Other Linker Flags` field in the `Linking` section of the `Build Settings` if you would prefer.*
48+
*Note: Alternatively, if you prefer, you can add the `-lz` flag to the `Other Linker Flags` field in the `Linking` section of the `Build Settings`.*
4949

5050
6. Under the "Build Settings" tab of your project configuration, find the "Header Search Paths" section and edit the value.
5151
Add a new value, `$(SRCROOT)/../node_modules/react-native-code-push` and select "recursive" in the dropdown.
@@ -192,7 +192,7 @@ And that's it! For more information regarding the CodePush API, including the va
192192
193193
## Releasing asset updates - iOS
194194
195-
If you are using the new React Native [assets system](https://facebook.github.io/react-native/docs/images.html#content), as opposed to loading your images from the network and/or platform-specific mechanisms (e.g. iOS asset catalogs), then you can't simply pass your jsbundle to CodePush as demonstrated above, you need to send your images as well. To do this, simply use the following workflow:
195+
If you are using the new React Native [assets system](https://facebook.github.io/react-native/docs/images.html#content), as opposed to loading your images from the network and/or platform-specific mechanisms (e.g. iOS asset catalogs), then you can't simply pass your jsbundle to CodePush as demonstrated above. You need to provide your images as well. To do this, simply use the following workflow:
196196
197197
1. When calling `react-native bundle`, specify that your assets and JS bundle go into a new "release" folder (you can call this anything, but it shouldn't contain any other files). For example:
198198
@@ -208,7 +208,7 @@ If you are using the new React Native [assets system](https://facebook.github.io
208208
209209
Additionally, the CodePush client supports differential updates, so even though you are releasing your JS bundle and assets on every update, your end-users will only actually download the files they need. The service handles this automatically so that you can focus on creating awesome apps and we can worry about optimizing end-user downloads.
210210
211-
*Note: Releasing assets via CodePush is currently only supported on iOS, and requires that you're using React Native v0.15.0*
211+
*Note: Releasing assets via CodePush is currently only supported on iOS, and requires that you're using React Native v0.15.0+.*
212212
213213
---
214214

0 commit comments

Comments
 (0)