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
+12-1Lines changed: 12 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -209,6 +209,15 @@ In order to accomodate as many developer preferences as possible, the CodePush p
209
209
210
210
*Note:If you don't already have RNPM installed, you can do so by simply running `npm i -g rnpm` and then executing the above command.*
211
211
212
+
2. (Only needed in v1.8.0+ of the plugin) In your `android/app/build.gradle` file, add the `codepush.gradle` file as an additional build task definition underneath `react.gradle`:
And that's it for installation usingRNPM! Continue below to the [PluginConfiguration](#plugin-configuration-android) section to complete the setup.
213
222
214
223
#### Plugin Installation (Android - Manual)
@@ -219,6 +228,7 @@ And that's it for installation using RNPM! Continue below to the [Plugin Configu
219
228
include ':app', ':react-native-code-push'
220
229
project(':react-native-code-push').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-code-push/android/app')
221
230
```
231
+
222
232
2. In your `android/app/build.gradle` file, add the `:react-native-code-push` project as a compile-time dependency:
223
233
224
234
```gradle
@@ -227,7 +237,8 @@ And that's it for installation using RNPM! Continue below to the [Plugin Configu
227
237
...
228
238
compile project(':react-native-code-push')
229
239
}
230
-
```
240
+
```
241
+
231
242
3. (Only needed in v1.8.0+ of the plugin) In your `android/app/build.gradle` file, add the `codepush.gradle` file as an additional build task definition underneath `react.gradle`:
0 commit comments