Commit 124984b
committed
fix: Add preference for crash recovery behaviour
This adds a `CrashRecoveryBehavior` preference with options `"refresh"`
(default - try to refresh the WebView URL) and `"reload"` (load the
starting page again in the WebView).
This doesn't solve the root issue where sometimes refreshing the WebView
still results in a blank screen, but gives people the option to force a
full reload (which seems to be what people are using as a workaround for
the blank screen bug).
Closes apacheGH-1232.
Closes apacheGH-1235.
Closes apacheGH-1355.
Closes apacheGH-1393.
Closes apacheGH-1533.
Closes apacheGH-1552.1 parent 6b39d0e commit 124984b
File tree
4 files changed
+44
-62
lines changed- CordovaLib
- Classes
- Private/Plugins/CDVWebViewEngine
- Public
- CordovaLib.docc
- include/Cordova
4 files changed
+44
-62
lines changedLines changed: 8 additions & 39 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
266 | 266 | | |
267 | 267 | | |
268 | 268 | | |
269 | | - | |
270 | | - | |
271 | | - | |
272 | | - | |
273 | | - | |
274 | | - | |
275 | | - | |
276 | 269 | | |
277 | 270 | | |
278 | 271 | | |
| |||
285 | 278 | | |
286 | 279 | | |
287 | 280 | | |
288 | | - | |
289 | | - | |
290 | | - | |
291 | | - | |
292 | | - | |
293 | | - | |
294 | | - | |
295 | | - | |
296 | | - | |
297 | | - | |
298 | | - | |
299 | | - | |
300 | | - | |
301 | | - | |
302 | | - | |
303 | | - | |
304 | | - | |
305 | | - | |
306 | | - | |
307 | | - | |
308 | | - | |
309 | | - | |
310 | | - | |
311 | | - | |
312 | | - | |
313 | | - | |
314 | | - | |
315 | | - | |
316 | | - | |
317 | | - | |
318 | | - | |
319 | 281 | | |
320 | 282 | | |
321 | 283 | | |
| |||
566 | 528 | | |
567 | 529 | | |
568 | 530 | | |
569 | | - | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
570 | 539 | | |
571 | 540 | | |
572 | 541 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
382 | 382 | | |
383 | 383 | | |
384 | 384 | | |
385 | | - | |
386 | | - | |
387 | | - | |
388 | | - | |
389 | | - | |
390 | | - | |
391 | | - | |
392 | | - | |
393 | | - | |
394 | | - | |
395 | | - | |
396 | | - | |
397 | | - | |
398 | | - | |
399 | | - | |
400 | | - | |
401 | | - | |
402 | | - | |
403 | | - | |
404 | | - | |
405 | | - | |
| 385 | + | |
406 | 386 | | |
407 | 387 | | |
408 | 388 | | |
| |||
765 | 745 | | |
766 | 746 | | |
767 | 747 | | |
| 748 | + | |
| 749 | + | |
| 750 | + | |
| 751 | + | |
| 752 | + | |
| 753 | + | |
| 754 | + | |
| 755 | + | |
| 756 | + | |
| 757 | + | |
| 758 | + | |
| 759 | + | |
| 760 | + | |
| 761 | + | |
| 762 | + | |
| 763 | + | |
| 764 | + | |
| 765 | + | |
| 766 | + | |
| 767 | + | |
| 768 | + | |
| 769 | + | |
| 770 | + | |
768 | 771 | | |
769 | 772 | | |
770 | 773 | | |
| |||
846 | 849 | | |
847 | 850 | | |
848 | 851 | | |
849 | | - | |
850 | | - | |
| 852 | + | |
851 | 853 | | |
852 | 854 | | |
853 | 855 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
345 | 345 | | |
346 | 346 | | |
347 | 347 | | |
| 348 | + | |
| 349 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
263 | 263 | | |
264 | 264 | | |
265 | 265 | | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
266 | 275 | | |
267 | 276 | | |
268 | 277 | | |
| |||
0 commit comments