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
@@ -217,6 +217,16 @@ export default CodePush({
217
217
> The URL for fetching the release history should point to the resource location generated by the CLI tool.
218
218
219
219
220
+
#### 4-1. Telemetry Callbacks
221
+
222
+
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.
223
+
-**onUpdateSuccess:** Triggered when the update bundle is executed successfully.
224
+
-**onUpdateRollback:** Triggered when there is an issue executing the update bundle, leading to a rollback.
225
+
-**onDownloadStart:** Triggered when the bundle download begins.
226
+
-**onDownloadSuccess:** Triggered when the bundle download completes successfully.
227
+
-**onSyncError:** Triggered when an unknown error occurs during the update process. (`CodePush.SyncStatus.UNKNOWN_ERROR` status)
0 commit comments