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

Commit 7a142c7

Browse files
committed
README changes
1 parent 3e5a309 commit 7a142c7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ To integrate CodePush into your Android project, do the following steps:
5454
include ':app', ':react-native-code-push'
5555
project(':react-native-code-push').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-code-push/android/app')
5656
```
57-
2. In your `android/app/build.gradle` file, add CodePush as one of the dependencies:
57+
2. In your `android/app/build.gradle` file, add the `:react-native-code-push` project as a compile-time dependency:
5858
5959
```gradle
6060
...
@@ -97,7 +97,7 @@ To let the CodePush runtime know which deployment it should query for updates ag
9797
9898
## Plugin Configuration - Android
9999
100-
After installing the plugin and sync-ing your Android Studio project with Gradle, you need to configure your app to consult CodePush for the location of your JS bundle, since it will "take control" of managing the current and all future versions. To do this, perform the following steps:
100+
After installing the plugin and syncing your Android Studio project with Gradle, you need to configure your app to consult CodePush for the location of your JS bundle, since it will "take control" of managing the current and all future versions. To do this, perform the following steps:
101101
102102
1. Initialize the module in MainActivity.java:
103103
@@ -133,7 +133,7 @@ After installing the plugin and sync-ing your Android Studio project with Gradle
133133
}
134134
```
135135
136-
2. Let the CodePush runtime know which deployment it should query for updates against. Be sure to set the `versionName` in your `android/app/build.gradle`:
136+
2. Ensure that the versionName property in your `android/app/build.gradle` file is set to a semver compliant value.
137137
138138
```gradle
139139
android {

0 commit comments

Comments
 (0)