Skip to content

Commit e30d29c

Browse files
committed
docs: update README.md for clearer installation instructions and configuration cleanup
1 parent 7c5cb2b commit e30d29c

File tree

1 file changed

+7
-13
lines changed

1 file changed

+7
-13
lines changed

README.md

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,13 @@ npm remove react-native-code-push
2121
npm install @bravemobile/react-native-code-push
2222
```
2323

24-
Then, follow the installation guide starting from **'4. "CodePush-ify" your app'**.
24+
1. Edit `android/app/build.gradle` file to remove the `apply from: "../../node_modules/..../codepush.gradle"` line.
2525

26-
The following changes are optional but recommended for cleaning up the old configuration:
27-
- Since the deployment key is no longer needed due to the retirement of AppCenter, it is recommended to remove it from your `Info.plist`, `strings.xml`, or JavaScript code.
28-
- Thanks to Auto Linking, you can remove the `react-native-code-push` module settings from `settings.gradle`.
26+
2. The following changes are optional but recommended for cleaning up the old configuration:
27+
- Since the deployment key is no longer needed due to the retirement of AppCenter, it is recommended to remove it from your `Info.plist`, `strings.xml`, or JavaScript code.
28+
- Thanks to Auto Linking, you can remove the `react-native-code-push` module settings from `settings.gradle`.
29+
30+
3. Follow the installation guide starting from **'4. "CodePush-ify" your app'**.
2931

3032

3133
## ⚙️ Installation
@@ -129,15 +131,7 @@ Then, edit `AppDelegate.swift` like below.
129131

130132
### Android Manual Setup
131133

132-
#### (1) Edit `android/app/build.gradle`
133-
134-
Add the following line to the end of the file.
135-
```diff
136-
// ...
137-
+ apply from: "../../node_modules/@bravemobile/react-native-code-push/android/codepush.gradle"
138-
```
139-
140-
#### (2) Edit `MainApplication` Code
134+
#### Edit `MainApplication` Code
141135

142136
**If you have `MainApplication.kt` (>= RN 0.73)**
143137

0 commit comments

Comments
 (0)