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
Copy file name to clipboardExpand all lines: README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -177,7 +177,7 @@ Add the following line to the end of the file.
177
177
</p>
178
178
</details>
179
179
180
-
### 2-1. Expo Setup
180
+
### 3. Expo Setup
181
181
For Expo projects, you can use the automated config plugin instead of manual setup.
182
182
183
183
**Add plugin to your Expo configuration:**
@@ -201,7 +201,7 @@ npx expo prebuild
201
201
**Requirements**
202
202
Expo SDK: 50.0.0 or higher
203
203
204
-
### 3. "CodePush-ify" Your App
204
+
### 4. "CodePush-ify" Your App
205
205
206
206
The root component of your app should be wrapped with a higher-order component.
207
207
@@ -245,7 +245,7 @@ export default CodePush({
245
245
> The URL for fetching the release history should point to the resource location generated by the CLI tool.
246
246
247
247
248
-
#### 3-1. Telemetry Callbacks
248
+
#### 4-1. Telemetry Callbacks
249
249
250
250
Please refer to the [CodePushOptions](https://github.com/Soomgo-Mobile/react-native-code-push/blob/f0d26f7614af41c6dd4daecd9f7146e2383b2b0d/typings/react-native-code-push.d.ts#L76-L95) type for more details.
251
251
-**onUpdateSuccess:** Triggered when the update bundle is executed successfully.
@@ -255,7 +255,7 @@ Please refer to the [CodePushOptions](https://github.com/Soomgo-Mobile/react-nat
255
255
-**onSyncError:** Triggered when an unknown error occurs during the update process. (`CodePush.SyncStatus.UNKNOWN_ERROR` status)
256
256
257
257
258
-
### 4. Configure the CLI Tool
258
+
### 5. Configure the CLI Tool
259
259
260
260
> [!TIP]
261
261
> For a more detailed and practical example, refer to the `CodePushDemoApp` in `example` directory. ([link](https://github.com/Soomgo-Mobile/react-native-code-push/tree/master/Examples/CodePushDemoApp))
0 commit comments