File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed
Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff 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
4343npx code-push init
4444```
4545
4646This 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
181186For Expo projects, you can use the automated config plugin instead of manual setup.
182187
@@ -201,6 +206,7 @@ npx expo prebuild
201206** Requirements**
202207Expo SDK: 50.0.0 or higher
203208
209+
204210### 4. "CodePush-ify" Your App
205211
206212The root component of your app should be wrapped with a higher-order component.
You can’t perform that action at this time.
0 commit comments