Skip to content

Commit 7fb1a4d

Browse files
authored
Drop deprecated HTML head meta tags (#8970)
Towards flutter/flutter#166166
1 parent eb8cb32 commit 7fb1a4d

File tree

24 files changed

+23
-47
lines changed

24 files changed

+23
-47
lines changed

packages/camera/camera/example/web/index.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,10 @@
77
<base href="$FLUTTER_BASE_HREF">
88

99
<meta charset="UTF-8">
10-
<meta content="IE=Edge" http-equiv="X-UA-Compatible">
1110
<meta name="description" content="An example of the camera on the web.">
1211

1312
<!-- iOS meta tags & icons -->
14-
<meta name="apple-mobile-web-app-capable" content="yes">
13+
<meta name="mobile-web-app-capable" content="yes">
1514
<meta name="apple-mobile-web-app-status-bar-style" content="black">
1615
<meta name="apple-mobile-web-app-title" content="example">
1716
<link rel="apple-touch-icon" href="icons/Icon-192.png">

packages/extension_google_sign_in_as_googleapis_auth/example/web/index.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,10 @@
2121
<base href="$FLUTTER_BASE_HREF">
2222

2323
<meta charset="UTF-8">
24-
<meta content="IE=Edge" http-equiv="X-UA-Compatible">
2524
<meta name="description" content="The Google Sign In example app, using the googleapis package.">
2625

2726
<!-- iOS meta tags & icons -->
28-
<meta name="apple-mobile-web-app-capable" content="yes">
27+
<meta name="mobile-web-app-capable" content="yes">
2928
<meta name="apple-mobile-web-app-status-bar-style" content="black">
3029
<meta name="apple-mobile-web-app-title" content="Google Sign In + googleapis">
3130
<link rel="apple-touch-icon" href="icons/Icon-192.png">

packages/file_selector/file_selector/example/web/index.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,10 @@
55
<html>
66
<head>
77
<meta charset="UTF-8">
8-
<meta content="IE=Edge" http-equiv="X-UA-Compatible">
98
<meta name="description" content="A new Flutter project.">
109

1110
<!-- iOS meta tags & icons -->
12-
<meta name="apple-mobile-web-app-capable" content="yes">
11+
<meta name="mobile-web-app-capable" content="yes">
1312
<meta name="apple-mobile-web-app-status-bar-style" content="black">
1413
<meta name="apple-mobile-web-app-title" content="example">
1514
<link rel="apple-touch-icon" href="icons/Icon-192.png">

packages/flutter_adaptive_scaffold/example/web/index.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,10 @@
2020
<base href="$FLUTTER_BASE_HREF">
2121

2222
<meta charset="UTF-8">
23-
<meta content="IE=Edge" http-equiv="X-UA-Compatible">
2423
<meta name="description" content="A new Flutter project.">
2524

2625
<!-- iOS meta tags & icons -->
27-
<meta name="apple-mobile-web-app-capable" content="yes">
26+
<meta name="mobile-web-app-capable" content="yes">
2827
<meta name="apple-mobile-web-app-status-bar-style" content="black">
2928
<meta name="apple-mobile-web-app-title" content="example">
3029
<link rel="apple-touch-icon" href="icons/Icon-192.png">

packages/flutter_image/example/web/index.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,10 @@
2121
<base href="$FLUTTER_BASE_HREF">
2222

2323
<meta charset="UTF-8">
24-
<meta content="IE=Edge" http-equiv="X-UA-Compatible">
2524
<meta name="description" content="A new Flutter project.">
2625

2726
<!-- iOS meta tags & icons -->
28-
<meta name="apple-mobile-web-app-capable" content="yes">
27+
<meta name="mobile-web-app-capable" content="yes">
2928
<meta name="apple-mobile-web-app-status-bar-style" content="black">
3029
<meta name="apple-mobile-web-app-title" content="example">
3130
<link rel="apple-touch-icon" href="icons/Icon-192.png">

packages/flutter_markdown/example/web/index.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,10 @@
1717
<base href="/">
1818

1919
<meta charset="UTF-8">
20-
<meta content="IE=Edge" http-equiv="X-UA-Compatible">
2120
<meta name="description" content="A new Flutter project.">
2221

2322
<!-- iOS meta tags & icons -->
24-
<meta name="apple-mobile-web-app-capable" content="yes">
23+
<meta name="mobile-web-app-capable" content="yes">
2524
<meta name="apple-mobile-web-app-status-bar-style" content="black">
2625
<meta name="apple-mobile-web-app-title" content="flutter_markdown_example">
2726
<link rel="apple-touch-icon" href="icons/Icon-192.png">

packages/go_router/example/web/index.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,10 @@
1717
<base href="/">
1818

1919
<meta charset="UTF-8">
20-
<meta content="IE=Edge" http-equiv="X-UA-Compatible">
2120
<meta name="description" content="A new Flutter project.">
2221

2322
<!-- iOS meta tags & icons -->
24-
<meta name="apple-mobile-web-app-capable" content="yes">
23+
<meta name="mobile-web-app-capable" content="yes">
2524
<meta name="apple-mobile-web-app-status-bar-style" content="black">
2625
<meta name="apple-mobile-web-app-title" content="simple">
2726
<link rel="apple-touch-icon" href="icons/Icon-192.png">

packages/google_adsense/example/web/index.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,10 @@
77
<base href="$FLUTTER_BASE_HREF">
88

99
<meta charset="UTF-8">
10-
<meta content="IE=Edge" http-equiv="X-UA-Compatible">
1110
<meta name="description" content="A new Flutter project.">
1211

1312
<!-- iOS meta tags & icons -->
14-
<meta name="apple-mobile-web-app-capable" content="yes">
13+
<meta name="mobile-web-app-capable" content="yes">
1514
<meta name="apple-mobile-web-app-status-bar-style" content="black">
1615
<meta name="apple-mobile-web-app-title" content="google_adsense_example">
1716
<link rel="apple-touch-icon" href="icons/Icon-192.png">

packages/google_identity_services_web/example/web/index-with-script-tag.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,10 @@
99
<base href="$FLUTTER_BASE_HREF">
1010

1111
<meta charset="UTF-8">
12-
<meta content="IE=Edge" http-equiv="X-UA-Compatible">
1312
<meta name="description" content="A new Flutter project.">
1413

1514
<!-- iOS meta tags & icons -->
16-
<meta name="apple-mobile-web-app-capable" content="yes">
15+
<meta name="mobile-web-app-capable" content="yes">
1716
<meta name="apple-mobile-web-app-status-bar-style" content="black">
1817
<meta name="apple-mobile-web-app-title" content="example">
1918
<link rel="apple-touch-icon" href="icons/Icon-192.png">

packages/google_identity_services_web/example/web/index.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,10 @@
77
<base href="$FLUTTER_BASE_HREF">
88

99
<meta charset="UTF-8">
10-
<meta content="IE=Edge" http-equiv="X-UA-Compatible">
1110
<meta name="description" content="A new Flutter project.">
1211

1312
<!-- iOS meta tags & icons -->
14-
<meta name="apple-mobile-web-app-capable" content="yes">
13+
<meta name="mobile-web-app-capable" content="yes">
1514
<meta name="apple-mobile-web-app-status-bar-style" content="black">
1615
<meta name="apple-mobile-web-app-title" content="example">
1716
<link rel="apple-touch-icon" href="icons/Icon-192.png">

packages/google_maps_flutter/google_maps_flutter/example/web/index.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,10 @@
2020
<base href="$FLUTTER_BASE_HREF">
2121

2222
<meta charset="UTF-8">
23-
<meta content="IE=Edge" http-equiv="X-UA-Compatible">
2423
<meta name="description" content="A new Flutter project.">
2524

2625
<!-- iOS meta tags & icons -->
27-
<meta name="apple-mobile-web-app-capable" content="yes">
26+
<meta name="mobile-web-app-capable" content="yes">
2827
<meta name="apple-mobile-web-app-status-bar-style" content="black">
2928
<meta name="apple-mobile-web-app-title" content="example">
3029
<link rel="apple-touch-icon" href="icons/Icon-192.png">

packages/image_picker/image_picker/example/web/index.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,10 @@
55
<html>
66
<head>
77
<meta charset="UTF-8">
8-
<meta content="IE=Edge" http-equiv="X-UA-Compatible">
98
<meta name="description" content="An example of the image_picker on the web.">
109

1110
<!-- iOS meta tags & icons -->
12-
<meta name="apple-mobile-web-app-capable" content="yes">
11+
<meta name="mobile-web-app-capable" content="yes">
1312
<meta name="apple-mobile-web-app-status-bar-style" content="black">
1413
<meta name="apple-mobile-web-app-title" content="example">
1514
<link rel="apple-touch-icon" href="icons/Icon-192.png">

packages/palette_generator/example/web/index.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,10 @@
77
<base href="$FLUTTER_BASE_HREF">
88

99
<meta charset="UTF-8">
10-
<meta content="IE=Edge" http-equiv="X-UA-Compatible">
1110
<meta name="description" content="Flutter Palette Generator example app.">
1211

1312
<!-- iOS meta tags & icons -->
14-
<meta name="apple-mobile-web-app-capable" content="yes">
13+
<meta name="mobile-web-app-capable" content="yes">
1514
<meta name="apple-mobile-web-app-status-bar-style" content="black">
1615
<meta name="apple-mobile-web-app-title" content="example">
1716
<link rel="apple-touch-icon" href="icons/Icon-192.png">

packages/pointer_interceptor/pointer_interceptor/example/web/index.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,10 @@
1717
<base href="/">
1818

1919
<meta charset="UTF-8">
20-
<meta content="IE=Edge" http-equiv="X-UA-Compatible">
2120
<meta name="description" content="A new Flutter project.">
2221

2322
<!-- iOS meta tags & icons -->
24-
<meta name="apple-mobile-web-app-capable" content="yes">
23+
<meta name="mobile-web-app-capable" content="yes">
2524
<meta name="apple-mobile-web-app-status-bar-style" content="black">
2625
<meta name="apple-mobile-web-app-title" content="example">
2726
<link rel="apple-touch-icon" href="icons/Icon-192.png">

packages/pointer_interceptor/pointer_interceptor_web/example/web/index.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,10 @@
2020
<base href="$FLUTTER_BASE_HREF">
2121

2222
<meta charset="UTF-8">
23-
<meta content="IE=Edge" http-equiv="X-UA-Compatible">
2423
<meta name="description" content="A new Flutter project.">
2524

2625
<!-- iOS meta tags & icons -->
27-
<meta name="apple-mobile-web-app-capable" content="yes">
26+
<meta name="mobile-web-app-capable" content="yes">
2827
<meta name="apple-mobile-web-app-status-bar-style" content="black">
2928
<meta name="apple-mobile-web-app-title" content="example">
3029
<link rel="apple-touch-icon" href="icons/Icon-192.png">

packages/rfw/example/hello/web/index.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,10 @@
2020
<base href="$FLUTTER_BASE_HREF">
2121

2222
<meta charset="UTF-8">
23-
<meta content="IE=Edge" http-equiv="X-UA-Compatible">
2423
<meta name="description" content="Hello World example for RFW">
2524

2625
<!-- iOS meta tags & icons -->
27-
<meta name="apple-mobile-web-app-capable" content="yes">
26+
<meta name="mobile-web-app-capable" content="yes">
2827
<meta name="apple-mobile-web-app-status-bar-style" content="black">
2928
<meta name="apple-mobile-web-app-title" content="hello">
3029
<link rel="apple-touch-icon" href="icons/Icon-192.png">

packages/rfw/example/local/web/index.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,10 @@
2020
<base href="$FLUTTER_BASE_HREF">
2121

2222
<meta charset="UTF-8">
23-
<meta content="IE=Edge" http-equiv="X-UA-Compatible">
2423
<meta name="description" content="Example of new custom local widgets for RFW">
2524

2625
<!-- iOS meta tags & icons -->
27-
<meta name="apple-mobile-web-app-capable" content="yes">
26+
<meta name="mobile-web-app-capable" content="yes">
2827
<meta name="apple-mobile-web-app-status-bar-style" content="black">
2928
<meta name="apple-mobile-web-app-title" content="local">
3029
<link rel="apple-touch-icon" href="icons/Icon-192.png">

packages/rfw/example/remote/web/index.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,10 @@
2020
<base href="$FLUTTER_BASE_HREF">
2121

2222
<meta charset="UTF-8">
23-
<meta content="IE=Edge" http-equiv="X-UA-Compatible">
2423
<meta name="description" content="Example of fetching remote widgets for RFW">
2524

2625
<!-- iOS meta tags & icons -->
27-
<meta name="apple-mobile-web-app-capable" content="yes">
26+
<meta name="mobile-web-app-capable" content="yes">
2827
<meta name="apple-mobile-web-app-status-bar-style" content="black">
2928
<meta name="apple-mobile-web-app-title" content="remote">
3029
<link rel="apple-touch-icon" href="icons/Icon-192.png">

packages/shared_preferences/shared_preferences_tool/web/index.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,10 @@
2020
<base href="$FLUTTER_BASE_HREF">
2121

2222
<meta charset="UTF-8">
23-
<meta content="IE=Edge" http-equiv="X-UA-Compatible">
2423
<meta name="description" content="A new Flutter project.">
2524

2625
<!-- iOS meta tags -->
27-
<meta name="apple-mobile-web-app-capable" content="yes">
26+
<meta name="mobile-web-app-capable" content="yes">
2827
<meta name="apple-mobile-web-app-status-bar-style" content="black">
2928
<meta name="apple-mobile-web-app-title" content="shared_preferences_tool">
3029

packages/two_dimensional_scrollables/example/web/index.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,10 @@
2020
<base href="$FLUTTER_BASE_HREF">
2121

2222
<meta charset="UTF-8">
23-
<meta content="IE=Edge" http-equiv="X-UA-Compatible">
2423
<meta name="description" content=""A new Flutter project."">
2524

2625
<!-- iOS meta tags & icons -->
27-
<meta name="apple-mobile-web-app-capable" content="yes">
26+
<meta name="mobile-web-app-capable" content="yes">
2827
<meta name="apple-mobile-web-app-status-bar-style" content="black">
2928
<meta name="apple-mobile-web-app-title" content="example">
3029
<link rel="apple-touch-icon" href="icons/Icon-192.png">

packages/url_launcher/url_launcher/example/web/index.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,10 @@
55
<html>
66
<head>
77
<meta charset="UTF-8">
8-
<meta content="IE=Edge" http-equiv="X-UA-Compatible">
98
<meta name="description" content="An example of the url_launcher on the web.">
109

1110
<!-- iOS meta tags & icons -->
12-
<meta name="apple-mobile-web-app-capable" content="yes">
11+
<meta name="mobile-web-app-capable" content="yes">
1312
<meta name="apple-mobile-web-app-status-bar-style" content="black">
1413
<meta name="apple-mobile-web-app-title" content="example">
1514
<link rel="apple-touch-icon" href="icons/Icon-192.png">

packages/web_benchmarks/testing/test_app/web/index.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
<base href="$FLUTTER_BASE_HREF">
2121

2222
<meta charset="UTF-8">
23-
<meta content="IE=Edge" http-equiv="X-UA-Compatible">
2423
<meta name="description" content="A new Flutter project.">
2524

2625
<!-- iOS meta tags & icons -->

packages/webview_flutter/webview_flutter_web/example/web/index.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,10 @@
2121
<base href="$FLUTTER_BASE_HREF">
2222

2323
<meta charset="UTF-8">
24-
<meta content="IE=Edge" http-equiv="X-UA-Compatible">
2524
<meta name="description" content="webview_flutter_web Example">
2625

2726
<!-- iOS meta tags & icons -->
28-
<meta name="apple-mobile-web-app-capable" content="yes">
27+
<meta name="mobile-web-app-capable" content="yes">
2928
<meta name="apple-mobile-web-app-status-bar-style" content="black">
3029
<meta name="apple-mobile-web-app-title" content="example">
3130
<link rel="apple-touch-icon" href="icons/Icon-192.png">

third_party/packages/flutter_svg/example/web/index.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,10 @@
22
<html>
33
<head>
44
<meta charset="UTF-8">
5-
<meta content="IE=Edge" http-equiv="X-UA-Compatible">
65
<meta name="description" content="A new Flutter project.">
76

87
<!-- iOS meta tags & icons -->
9-
<meta name="apple-mobile-web-app-capable" content="yes">
8+
<meta name="mobile-web-app-capable" content="yes">
109
<meta name="apple-mobile-web-app-status-bar-style" content="black">
1110
<meta name="apple-mobile-web-app-title" content="example">
1211
<link rel="apple-touch-icon" href="icons/Icon-192.png">

0 commit comments

Comments
 (0)