This repository was archived by the owner on May 20, 2025. It is now read-only.
Commit 2cd2ef0
sync: install update even if an error occurs in callbacks (#787)
Wrap up syncStatusChangeCallback and downloadProgressCallback methods with try/catch block to make it possible to install CodePush updates even if an error occurs while trying to run syncStatusChangeCallback or downloadProgressCallback methods1 parent 5ece19b commit 2cd2ef0
1 file changed
+24
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
238 | 238 | | |
239 | 239 | | |
240 | 240 | | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
241 | 262 | | |
242 | | - | |
243 | | - | |
| 263 | + | |
| 264 | + | |
244 | 265 | | |
245 | 266 | | |
246 | 267 | | |
247 | 268 | | |
248 | 269 | | |
249 | | - | |
| 270 | + | |
250 | 271 | | |
251 | 272 | | |
252 | 273 | | |
| |||
0 commit comments