Commit 96c8e2d
authored
Fixes: flutter/flutter#126899
Starting from iOS version 16.4, it is now possible to change the value of the isInspectable property in WKWebView.
https://developer.apple.com/documentation/webkit/wkwebview/4111163-isinspectable
Since iOS 16.4, the Web Inspector feature is disabled by default.
Therefore, to use Web Inspector, need to change the value of isInspectable.
Here is a blog post from WebKit that discusses this
https://webkit.org/blog/13936/enabling-the-inspection-of-web-content-in-apps/
Apple Developer Forums thread (iOS 16.4 webview can not debug in safari web inspector)
https://developer.apple.com/forums/thread/727049
1 parent 05efbb2 commit 96c8e2d
File tree
17 files changed
+233
-2
lines changed- packages/webview_flutter/webview_flutter_wkwebview
- example/ios/RunnerTests
- ios/Classes
- lib/src
- common
- web_kit
- pigeons
- test
- legacy
- src
- common
- ui_kit
- web_kit
17 files changed
+233
-2
lines changedLines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
1 | 6 | | |
2 | 7 | | |
3 | 8 | | |
| |||
Lines changed: 16 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
464 | 464 | | |
465 | 465 | | |
466 | 466 | | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
467 | 483 | | |
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
751 | 751 | | |
752 | 752 | | |
753 | 753 | | |
| 754 | + | |
| 755 | + | |
| 756 | + | |
754 | 757 | | |
755 | 758 | | |
756 | 759 | | |
| |||
Lines changed: 25 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2481 | 2481 | | |
2482 | 2482 | | |
2483 | 2483 | | |
| 2484 | + | |
| 2485 | + | |
| 2486 | + | |
| 2487 | + | |
| 2488 | + | |
| 2489 | + | |
| 2490 | + | |
| 2491 | + | |
| 2492 | + | |
| 2493 | + | |
| 2494 | + | |
| 2495 | + | |
| 2496 | + | |
| 2497 | + | |
| 2498 | + | |
| 2499 | + | |
| 2500 | + | |
| 2501 | + | |
| 2502 | + | |
| 2503 | + | |
| 2504 | + | |
| 2505 | + | |
| 2506 | + | |
| 2507 | + | |
| 2508 | + | |
2484 | 2509 | | |
2485 | 2510 | | |
2486 | 2511 | | |
| |||
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
197 | 197 | | |
198 | 198 | | |
199 | 199 | | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
200 | 212 | | |
201 | 213 | | |
202 | 214 | | |
| |||
Lines changed: 32 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
675 | 675 | | |
676 | 676 | | |
677 | 677 | | |
| 678 | + | |
678 | 679 | | |
679 | 680 | | |
680 | 681 | | |
| |||
961 | 962 | | |
962 | 963 | | |
963 | 964 | | |
| 965 | + | |
964 | 966 | | |
965 | 967 | | |
966 | 968 | | |
| |||
1150 | 1152 | | |
1151 | 1153 | | |
1152 | 1154 | | |
| 1155 | + | |
1153 | 1156 | | |
1154 | 1157 | | |
1155 | 1158 | | |
| |||
1435 | 1438 | | |
1436 | 1439 | | |
1437 | 1440 | | |
| 1441 | + | |
1438 | 1442 | | |
1439 | 1443 | | |
1440 | 1444 | | |
| |||
1537 | 1541 | | |
1538 | 1542 | | |
1539 | 1543 | | |
| 1544 | + | |
1540 | 1545 | | |
1541 | 1546 | | |
1542 | 1547 | | |
| |||
1768 | 1773 | | |
1769 | 1774 | | |
1770 | 1775 | | |
| 1776 | + | |
1771 | 1777 | | |
1772 | 1778 | | |
1773 | 1779 | | |
| |||
1881 | 1887 | | |
1882 | 1888 | | |
1883 | 1889 | | |
| 1890 | + | |
1884 | 1891 | | |
1885 | 1892 | | |
1886 | 1893 | | |
| |||
1982 | 1989 | | |
1983 | 1990 | | |
1984 | 1991 | | |
| 1992 | + | |
1985 | 1993 | | |
1986 | 1994 | | |
1987 | 1995 | | |
| |||
2527 | 2535 | | |
2528 | 2536 | | |
2529 | 2537 | | |
| 2538 | + | |
| 2539 | + | |
| 2540 | + | |
| 2541 | + | |
| 2542 | + | |
| 2543 | + | |
| 2544 | + | |
| 2545 | + | |
| 2546 | + | |
| 2547 | + | |
| 2548 | + | |
| 2549 | + | |
| 2550 | + | |
| 2551 | + | |
| 2552 | + | |
| 2553 | + | |
| 2554 | + | |
| 2555 | + | |
| 2556 | + | |
| 2557 | + | |
| 2558 | + | |
| 2559 | + | |
2530 | 2560 | | |
2531 | 2561 | | |
2532 | 2562 | | |
| |||
2567 | 2597 | | |
2568 | 2598 | | |
2569 | 2599 | | |
| 2600 | + | |
2570 | 2601 | | |
2571 | 2602 | | |
2572 | 2603 | | |
| |||
2703 | 2734 | | |
2704 | 2735 | | |
2705 | 2736 | | |
| 2737 | + | |
2706 | 2738 | | |
2707 | 2739 | | |
2708 | 2740 | | |
| |||
Lines changed: 18 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1107 | 1107 | | |
1108 | 1108 | | |
1109 | 1109 | | |
| 1110 | + | |
| 1111 | + | |
| 1112 | + | |
| 1113 | + | |
| 1114 | + | |
| 1115 | + | |
| 1116 | + | |
| 1117 | + | |
| 1118 | + | |
| 1119 | + | |
| 1120 | + | |
| 1121 | + | |
| 1122 | + | |
| 1123 | + | |
| 1124 | + | |
| 1125 | + | |
| 1126 | + | |
| 1127 | + | |
1110 | 1128 | | |
1111 | 1129 | | |
1112 | 1130 | | |
| |||
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1067 | 1067 | | |
1068 | 1068 | | |
1069 | 1069 | | |
| 1070 | + | |
| 1071 | + | |
| 1072 | + | |
| 1073 | + | |
| 1074 | + | |
| 1075 | + | |
| 1076 | + | |
| 1077 | + | |
| 1078 | + | |
| 1079 | + | |
| 1080 | + | |
1070 | 1081 | | |
1071 | 1082 | | |
1072 | 1083 | | |
| |||
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
544 | 544 | | |
545 | 545 | | |
546 | 546 | | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
547 | 559 | | |
548 | 560 | | |
549 | 561 | | |
| |||
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
694 | 694 | | |
695 | 695 | | |
696 | 696 | | |
| 697 | + | |
| 698 | + | |
| 699 | + | |
697 | 700 | | |
698 | 701 | | |
699 | 702 | | |
| |||
0 commit comments