Skip to content

Commit 84a1264

Browse files
committed
docs: enhance README.md with clearer setup instructions and manual setup section
1 parent 96f11ac commit 84a1264

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

README.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,18 +37,22 @@ npm install @bravemobile/react-native-code-push
3737

3838
### 2. Run init command
3939

40-
Run the following command to automatically configure your project for CodePush.
40+
For React Native CLI projects, you can use the automatic setup command to configure your project for CodePush.
4141

4242
```bash
4343
npx code-push init
4444
```
4545

4646
This command will automatically edit your `AppDelegate` and `MainApplication` files to integrate CodePush.
4747

48+
### 2-1. Manual Setup
49+
50+
If you prefer manual setup or if the automatic configuration fails, you can follow the manual setup instructions below.
51+
4852
<details><summary>Click to see the manual setup instructions.</summary>
4953
<p>
5054

51-
### iOS Setup
55+
### iOS Manual Setup
5256

5357
#### (1) Install CocoaPods Dependencies
5458

@@ -123,7 +127,7 @@ Then, edit `AppDelegate.swift` like below.
123127
```
124128

125129

126-
### Android Setup
130+
### Android Manual Setup
127131

128132
#### (1) Edit `android/app/build.gradle`
129133

@@ -177,6 +181,7 @@ Add the following line to the end of the file.
177181
</p>
178182
</details>
179183

184+
180185
### 3. Expo Setup
181186
For Expo projects, you can use the automated config plugin instead of manual setup.
182187

@@ -201,6 +206,7 @@ npx expo prebuild
201206
**Requirements**
202207
Expo SDK: 50.0.0 or higher
203208

209+
204210
### 4. "CodePush-ify" Your App
205211

206212
The root component of your app should be wrapped with a higher-order component.

0 commit comments

Comments
 (0)