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
+10Lines changed: 10 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -205,6 +205,16 @@ export default CodePush({
205
205
> The URL for fetching the release history should point to the resource location generated by the CLI tool.
206
206
207
207
208
+
#### 4-1. Telemetry Callbacks
209
+
210
+
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.
211
+
-**onUpdateSuccess:** Triggered when the update bundle is executed successfully.
212
+
-**onUpdateRollback:** Triggered when there is an issue executing the update bundle, leading to a rollback.
213
+
-**onDownloadStart:** Triggered when the bundle download begins.
214
+
-**onDownloadSuccess:** Triggered when the bundle download completes successfully.
215
+
-**onSyncError:** Triggered when an unknown error occurs during the update process. (`CodePush.SyncStatus.UNKNOWN_ERROR` status)
0 commit comments