Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

Pull latest main branch changes into v4_webview #6713

Merged
merged 134 commits into from
Nov 18, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
134 commits
Select commit Hold shift + click to select a range
8a96431
Roll Flutter from 99475b1b0bee to b55bbb7bffc7 (36 revisions) (#6456)
engine-flutter-autoroll Sep 20, 2022
7992b0f
Roll Flutter from b55bbb7bffc7 to cf01ecd19e61 (29 revisions) (#6458)
engine-flutter-autoroll Sep 21, 2022
7d5ff59
[tools] Require implementation package README warning (#6459)
stuartmorgan-g Sep 22, 2022
7c6c784
[video_player] Fix invalid link in CHANGELOG on pub.dev (#6446)
AlexV525 Sep 22, 2022
0177355
[webview_flutter_android] Expose the Java InstanceManager (#6421)
bparrishMines Sep 22, 2022
ff5b28a
[quick_actions]Migrate the plugin class to Swift, and remove custom m…
hellohuanlin Sep 22, 2022
8a8e67a
[gh_actions]: Bump github/codeql-action from 2.1.22 to 2.1.24 (#6451)
dependabot[bot] Sep 23, 2022
88dc5e3
[google_sign_in] Fix issue obtaining serverAuthCode on Android and ad…
fbcouch Sep 23, 2022
446c6f7
[video_player]fix ios 16 bug where encrypted video stream is not show…
hellohuanlin Sep 23, 2022
3ba8150
[video_player]remove integration tests (#6471)
hellohuanlin Sep 23, 2022
97d48f4
Roll Flutter from cf01ecd19e61 to b31f41bd1aa6 (50 revisions) (#6475)
engine-flutter-autoroll Sep 23, 2022
376a64f
[tools] Add 'run_tests.sh' to the dev-only list (#6474)
stuartmorgan-g Sep 23, 2022
b4e53b3
Roll Flutter from b31f41bd1aa6 to 07665fba77bc (22 revisions) (#6479)
engine-flutter-autoroll Sep 24, 2022
45d6e0d
Roll Flutter from 07665fba77bc to 64f84f6a47d2 (4 revisions) (#6480)
engine-flutter-autoroll Sep 25, 2022
fe3b542
[camera] Add CameraSelector class to CameraX plugin (#6348)
camsim99 Sep 26, 2022
de55e76
Roll Flutter from 64f84f6a47d2 to 7b6074fbc542 (7 revisions) (#6496)
engine-flutter-autoroll Sep 26, 2022
4b2a636
[file_selector] Annotate all creation of XTypeGroup with // ignore: p…
eugerossetto Sep 26, 2022
8ef3001
Enable depend_on_referenced_packages lint (#6498)
stuartmorgan-g Sep 26, 2022
0825da1
[gh_actions]: Bump github/codeql-action from 2.1.24 to 2.1.25 (#6491)
dependabot[bot] Sep 27, 2022
9c9185c
Roll Flutter from 7b6074fbc542 to f57c2fe8ff49 (23 revisions) (#6502)
engine-flutter-autoroll Sep 27, 2022
d4c6913
[in_app_pur]: Bump json from 20180813 to 20220924 in /packages/in_app…
dependabot[bot] Sep 27, 2022
6c84f5d
[file_selector] Annotate all parameters of XTypeGroup with // ignore:…
eugerossetto Sep 27, 2022
709e7d4
[sign_in]: Bump play-services-auth from 20.0.1 to 20.3.0 in /packages…
dependabot[bot] Sep 27, 2022
d5a4157
[ci] Update Dockerfile (#6477)
stuartmorgan-g Sep 27, 2022
b3018c8
Update deprecated analysis options (#6505)
stuartmorgan-g Sep 27, 2022
2592df9
[tool] Clean up "plugin" references (#6503)
stuartmorgan-g Sep 27, 2022
1c47c3b
[camera] Add ProcessCameraProvider class to CameraX plugin (#6469)
camsim99 Sep 27, 2022
f75cfb4
Revert "[camera] Add ProcessCameraProvider class to CameraX plugin (#…
stuartmorgan-g Sep 28, 2022
ded5528
Enable `prefer_relative_imports` (#6501)
stuartmorgan-g Sep 28, 2022
7aa678e
Roll Flutter from f57c2fe8ff49 to 9bf849184d6c (29 revisions) (#6510)
engine-flutter-autoroll Sep 28, 2022
9428081
Enable `no_leading_underscores_for_local_identifiers` (#6509)
stuartmorgan-g Sep 28, 2022
ab5e9e6
[file_selector] Add all iOS files to example app (#6513)
stuartmorgan-g Sep 28, 2022
5bb5129
[tool] Adds a `fix` command (#6512)
stuartmorgan-g Sep 28, 2022
d73b921
Roll Flutter from 9bf849184d6c to a11bef968893 (37 revisions) (#6515)
engine-flutter-autoroll Sep 29, 2022
f46fe07
Roll Flutter (stable) from e3c29ec00c9c to 18a827f3933c (4 revisions)…
engine-flutter-autoroll Sep 29, 2022
c279260
[google_maps]: Bump play-services-maps from 18.0.2 to 18.1.0 in /pack…
dependabot[bot] Sep 29, 2022
b82bb69
[camera] Re-land Add ProcessCameraProvider class to CameraX Plugin (#…
camsim99 Sep 29, 2022
35b9755
[image_picker_windows] Annotate XTypeGroup constructor with // ignore…
eugerossetto Sep 30, 2022
e8f19ed
[tool] Only run postsubmit on changed packages (#6516)
stuartmorgan-g Sep 30, 2022
dc5f185
Roll Flutter from a11bef968893 to 99fb2d36e807 (20 revisions) (#6520)
engine-flutter-autoroll Sep 30, 2022
b7bb9db
[tool] Improve changed-package run mode logging (#6521)
stuartmorgan-g Sep 30, 2022
28c9c0d
[file_selector] Convert XTypeGroup to const (#6476)
eugerossetto Oct 1, 2022
a295dc1
Roll Flutter from 99fb2d36e807 to a4b246f2a88c (28 revisions) (#6530)
engine-flutter-autoroll Oct 3, 2022
25e10b2
[video_player] Fixes a bug where the aspect ratio of some HLS videos …
hellohuanlin Oct 3, 2022
911dcc7
Roll Flutter from a4b246f2a88c to 55d67cc7d992 (20 revisions) (#6534)
engine-flutter-autoroll Oct 4, 2022
221548f
[quick_actions]Migrate the XCUITests to Swift (#6425)
hellohuanlin Oct 4, 2022
3a928b8
[webview]: Bump annotation from 1.4.0 to 1.5.0 in /packages/webview_f…
dependabot[bot] Oct 4, 2022
fb5c86c
[image_picker] add requestFullMetadata for iOS (optional permissions)…
PiotrMitkowski Oct 5, 2022
45962d1
Roll Flutter from 55d67cc7d992 to d554fcb36a6e (23 revisions) (#6536)
engine-flutter-autoroll Oct 5, 2022
54e748c
Roll Flutter (stable) from 18a827f3933c to eb6d86ee27de (2 revisions)…
engine-flutter-autoroll Oct 5, 2022
5f20bf1
[file_selector] Use const instead of final for XTypeGroup. (#6542)
eugerossetto Oct 6, 2022
3cd4360
Roll Flutter from d554fcb36a6e to be86a916548a (22 revisions) (#6548)
engine-flutter-autoroll Oct 6, 2022
d4db207
[image_picker_windows] Use const instead of final for XTypeGroup. (#6…
eugerossetto Oct 6, 2022
51c8081
Roll Flutter from be86a916548a to eec8d9d9cc29 (28 revisions) (#6551)
engine-flutter-autoroll Oct 7, 2022
028e749
[tool] Fix version mistake in CHANGELOG (#6552)
stuartmorgan-g Oct 7, 2022
cfbdcd0
Roll Flutter from eec8d9d9cc29 to 23f22cb8535c (22 revisions) (#6554)
engine-flutter-autoroll Oct 8, 2022
1cf02a8
[gh_actions]: Bump github/codeql-action from 2.1.25 to 2.1.27 (#6559)
dependabot[bot] Oct 10, 2022
61b6fee
[gh_actions]: Bump actions/checkout from 3.0.2 to 3.1.0 (#6561)
dependabot[bot] Oct 10, 2022
f64d53c
[gh_actions]: Bump ossf/scorecard-action from 2.0.3 to 2.0.4 (#6560)
dependabot[bot] Oct 10, 2022
88aa7b1
[gh_actions]: Bump actions/labeler from 4.0.1 to 4.0.2 (#6558)
dependabot[bot] Oct 10, 2022
5239062
Roll Flutter from 23f22cb8535c to 89d9880f46e0 (3 revisions) (#6556)
engine-flutter-autoroll Oct 10, 2022
b175843
[various] Add some more Java lint ignores (#6562)
stuartmorgan-g Oct 11, 2022
5a57257
Roll Flutter from 89d9880f46e0 to 4fed6aaeff8f (23 revisions) (#6564)
engine-flutter-autoroll Oct 11, 2022
5f0a5f2
Roll Flutter from 4fed6aaeff8f to 91d88336ddcf (13 revisions) (#6567)
engine-flutter-autoroll Oct 12, 2022
c407d92
Roll Flutter from 91d88336ddcf to c738c8aa9616 (8 revisions) (#6571)
engine-flutter-autoroll Oct 13, 2022
ef8a9ff
[quick_actions] Update dependency versions (#6563)
stuartmorgan-g Oct 13, 2022
b033ac7
Roll Flutter from c738c8aa9616 to 08e1729204f3 (8 revisions) (#6574)
engine-flutter-autoroll Oct 14, 2022
3d44753
[shared_preferences] fix typo (#6570)
HosamHasanRamadan Oct 14, 2022
b745257
Roll Flutter from 08e1729204f3 to a707d05e9d4c (6 revisions) (#6577)
engine-flutter-autoroll Oct 15, 2022
5a0209d
Roll Flutter from a707d05e9d4c to f26dd3730df8 (10 revisions) (#6584)
engine-flutter-autoroll Oct 17, 2022
fd3ee38
[file_selector] Update file_selector_platform_interface by adding the…
juandausa Oct 18, 2022
e6184f9
Roll Flutter from f26dd3730df8 to eea60f86f1b1 (19 revisions) (#6588)
engine-flutter-autoroll Oct 18, 2022
79894bc
Roll Flutter from eea60f86f1b1 to abfaec68114b (10 revisions) (#6590)
engine-flutter-autoroll Oct 19, 2022
aeab040
[ci] Cirrus pre-alignment with flutter/packages, part 1 (#6569)
stuartmorgan-g Oct 19, 2022
6b61dd2
Roll Flutter (stable) from eb6d86ee27de to d9111f640213 (4 revisions)…
engine-flutter-autoroll Oct 20, 2022
a577c00
Roll Flutter from abfaec68114b to 637e5bce662f (13 revisions) (#6593)
engine-flutter-autoroll Oct 20, 2022
32b1f7b
[ci] Update web mocks. (#6591)
ditman Oct 20, 2022
09a4a09
[camera] Remove usage of `_ambiguate` method in example (#6555)
nilsreichardt Oct 20, 2022
3a03925
[tool] Get dependencies in package examples before publish check. (#6…
ditman Oct 20, 2022
7a7480a
[in_app_purchase] Bumps `in_app_purchase_android` minimum version to …
bparrishMines Oct 21, 2022
f55c7ff
Roll Flutter from 637e5bce662f to 59d26c481acc (17 revisions) (#6599)
engine-flutter-autoroll Oct 21, 2022
84f5ec6
[in_app_purchase][iOS] fix iOS promotional offers (SKPaymentDiscountW…
crystalstorm Oct 24, 2022
cb76ba5
[local_auth] Fix device credential only check for API < 30 (#6522)
camsim99 Oct 24, 2022
fed9104
[in_app_purchase_storekit] Fixup iOS integration test placeholder and…
IVLIVS-III Oct 25, 2022
6c025ff
[camera]: Bump annotation from 1.1.0 to 1.5.0 in /packages/camera/cam…
dependabot[bot] Oct 25, 2022
e997501
[camera_platform_interface][flutter roll] Fix hashCode tests and manu…
bparrishMines Oct 25, 2022
44978fe
[in_app_pur]: Bump gradle from 4.1.0 to 7.3.1 in /packages/in_app_pur…
dependabot[bot] Oct 25, 2022
e17f931
[url_launcher]: Bump gradle from 3.4.2 to 4.2.0 in /packages/url_laun…
dependabot[bot] Oct 25, 2022
42f55ed
[various] Update Gradle in examples (#6614)
stuartmorgan-g Oct 25, 2022
f5d2d30
[espresso]: Bump gradle from 3.5.0 to 7.3.1 in /packages/espresso/and…
dependabot[bot] Oct 25, 2022
5d4c57a
Roll Flutter from 29397c2c7dbb to 0fe29f585791 (30 revisions) (#6621)
engine-flutter-autoroll Oct 25, 2022
8e8726a
[google_maps]: Bump gradle from 3.5.4 to 7.3.1 in /packages/google_ma…
dependabot[bot] Oct 25, 2022
cd8bb0a
Fix strict language checks (#6622)
kevmoo Oct 26, 2022
1459767
[various] Remove unused Gradle files (#6623)
stuartmorgan-g Oct 26, 2022
98bced0
Roll Flutter from 0fe29f585791 to 8b36497946f6 (28 revisions) (#6624)
engine-flutter-autoroll Oct 26, 2022
db127f0
Roll Flutter (stable) from d9111f640213 to 6928314d505d (1 revision) …
engine-flutter-autoroll Oct 26, 2022
91122ec
Update Gradle and AGP in examples to 7.0 (#6625)
stuartmorgan-g Oct 26, 2022
655599b
[file_selector] Include the missing GetDirectoryPath method example a…
VanesaOshiro Oct 26, 2022
efef3ab
[gh_actions]: Bump actions/upload-artifact from 3.1.0 to 3.1.1 (#6608)
dependabot[bot] Oct 27, 2022
27dcab1
[in_app_pur]: Bump json from 20220320 to 20220924 in /packages/in_app…
dependabot[bot] Oct 27, 2022
204724a
[in_app_pur]: Bump json from 20180813 to 20220924 in /packages/in_app…
dependabot[bot] Oct 27, 2022
2eb9a1b
[gh_actions]: Bump lewagon/wait-on-check-action from 1.1.2 to 1.2.0 (…
dependabot[bot] Oct 28, 2022
6f91122
[tool] Update tool to set macOS deployment target to 10.15. (#6605)
IVLIVS-III Oct 28, 2022
def5457
[url_launcher]: Bump annotation from 1.0.0 to 1.5.0 in /packages/url_…
dependabot[bot] Oct 28, 2022
91d7fe5
[quick_actions_android] Manual roll to ignore failing `appShortcutLau…
bparrishMines Oct 28, 2022
be3e328
[path_provider]: Bump gradle from 3.3.0 to 7.3.1 in /packages/path_pr…
dependabot[bot] Oct 31, 2022
f6f6481
[tool] Rename all-plugins-app command (#6600)
stuartmorgan-g Oct 31, 2022
9e0e966
[local_auth]: Bump fragment from 1.5.2 to 1.5.4 in /packages/local_au…
dependabot[bot] Oct 31, 2022
054b890
[camera]: Bump camerax_version from 1.2.0-beta02 to 1.2.0-rc01 in /pa…
dependabot[bot] Oct 31, 2022
4cbb771
Roll Flutter from ea0ddc94ccc6 to 8f0c35d4869e (17 revisions) (#6639)
engine-flutter-autoroll Oct 31, 2022
f68f83b
[camera] Interface method to allow concurrent recording and streaming…
adam-harwood Nov 1, 2022
5c11747
Roll Flutter from 8f0c35d4869e to 0e98194681fd (30 revisions) (#6648)
engine-flutter-autoroll Nov 1, 2022
f8122dc
[ci]Temporarily disable starqlteue on firebase device lab (#6657)
Nov 2, 2022
38c9324
[video_player]add integration test for inverted aspect ratio bug (#6662)
hellohuanlin Nov 3, 2022
dd8245e
Roll Flutter (stable) from 6928314d505d to e99c9c7cd9f6 (2 revisions)…
engine-flutter-autoroll Nov 3, 2022
8cfa265
Roll Flutter from 0e98194681fd to e6300da2c39f (46 revisions) (#6668)
engine-flutter-autoroll Nov 3, 2022
897ec59
[ci] Removes unnecessary overrides. (#6669)
pq Nov 4, 2022
a279b9d
Roll Flutter from e6300da2c39f to 55e8cd178621 (17 revisions) (#6670)
engine-flutter-autoroll Nov 4, 2022
3ec3cc1
Add `Mac_x64 darwin_lint_podspecs` to LUCI (#6637)
keyonghan Nov 4, 2022
0e5e90f
[webview_flutter] Fix typo (#6650)
fzyzcjy Nov 4, 2022
f04ef73
Roll Flutter from 55e8cd178621 to e0e7027b6263 (20 revisions) (#6673)
engine-flutter-autoroll Nov 5, 2022
3ca3410
Roll Flutter from e0e7027b6263 to 5ea5a5330169 (7 revisions) (#6675)
engine-flutter-autoroll Nov 6, 2022
79d62f7
Roll Flutter from 5ea5a5330169 to a1289a41358d (7 revisions) (#6677)
engine-flutter-autoroll Nov 7, 2022
910b61d
Roll Flutter from a1289a41358d to a1432a9c5da2 (23 revisions) (#6681)
engine-flutter-autoroll Nov 8, 2022
5857920
Roll Flutter from a1432a9c5da2 to d3dcd7d532b6 (8 revisions) (#6684)
engine-flutter-autoroll Nov 9, 2022
6da73be
Enable `Mac build_all_plugins` (#6671)
keyonghan Nov 9, 2022
cc4ffae
Update flutter cirrus key (#6687)
ricardoamador Nov 9, 2022
f35c169
Roll Flutter from d3dcd7d532b6 to c7d11549a51e (13 revisions) (#6689)
engine-flutter-autoroll Nov 10, 2022
553dac8
Roll Flutter from c7d11549a51e to 098aac7ffeef (24 revisions) (#6692)
engine-flutter-autoroll Nov 11, 2022
11cb483
Roll Flutter (stable) from e99c9c7cd9f6 to 52b3dc25f647 (4 revisions)…
engine-flutter-autoroll Nov 11, 2022
b1c457f
Roll Flutter from 098aac7ffeef to 61e927d22fe6 (16 revisions) (#6694)
engine-flutter-autoroll Nov 12, 2022
e500884
Enable Mac ios_platform_tests tests (#6682)
keyonghan Nov 15, 2022
c450142
Merge branch 'main' of github.com:flutter/plugins into main_into_v4_w…
bparrishMines Nov 17, 2022
c24c92d
fix merge conflicts
bparrishMines Nov 17, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
141 changes: 141 additions & 0 deletions .ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,149 @@ platform_properties:
]
device_type: none
os: Windows
mac_x64:
properties:
dependencies: >-
[
{"dependency": "xcode", "version": "14a5294e"},
{"dependency": "gems", "version": "v3.3.14"}
]
os: Mac-12
device_type: none
cpu: x86
xcode: 14a5294e # xcode 14.0 beta 5


targets:
### iOS+macOS tasks ***
# TODO(stuartmorgan): Move this to ARM once google_maps_flutter has ARM
# support. `pod lint` makes a synthetic target that doesn't respect the
# pod's arch exclusions, so fails to build.
- name: Mac_x64 lint_podspecs
recipe: plugins/plugins
bringup: true # New target: https://github.com/flutter/plugins/pull/6637
timeout: 30
properties:
add_recipes_cq: "true"
version_file: flutter_master.version
target_file: mac_lint_podspecs.yaml

### macOS desktop tasks ###
# macos-platform_tests builds all the plugins on M1, so this build is run
# on Intel to give us build coverage of both host types.
- name: Mac_x64 build_all_plugins master
recipe: plugins/plugins
bringup: true # New target: https://github.com/flutter/plugins/pull/6671
timeout: 30
properties:
add_recipes_cq: "true"
version_file: flutter_master.version
target_file: mac_build_all_plugins.yaml
channel: master

- name: Mac_x64 build_all_plugins stable
recipe: plugins/plugins
bringup: true # New target: https://github.com/flutter/plugins/pull/6671
timeout: 30
properties:
add_recipes_cq: "true"
version_file: flutter_stable.version
target_file: mac_build_all_plugins.yaml
channel: stable

### iOS tasks ###
# TODO(stuartmorgan): Swap this and ios-build_all_plugins once simulator
# tests are reliable on the ARM infrastructure. See discussion at
# https://github.com/flutter/plugins/pull/5693#issuecomment-1126011089
- name: Mac_x64 ios_platform_tests_1_of_4 master
recipe: plugins/plugins
bringup: true # New target: https://github.com/flutter/plugins/pull/6682
timeout: 30
properties:
add_recipes_cq: "true"
version_file: flutter_master.version
target_file: mac_ios_platform_tests.yaml
package_sharding: "--shardIndex 0 --shardCount 4"

- name: Mac_x64 ios_platform_tests_2_of_4 master
recipe: plugins/plugins
bringup: true # New target: https://github.com/flutter/plugins/pull/6682
timeout: 30
properties:
add_recipes_cq: "true"
version_file: flutter_master.version
target_file: mac_ios_platform_tests.yaml
package_sharding: "--shardIndex 1 --shardCount 4"

- name: Mac_x64 ios_platform_tests_3_of_4 master
recipe: plugins/plugins
bringup: true # New target: https://github.com/flutter/plugins/pull/6682
timeout: 30
properties:
add_recipes_cq: "true"
version_file: flutter_master.version
target_file: mac_ios_platform_tests.yaml
package_sharding: "--shardIndex 2 --shardCount 4"

- name: Mac_x64 ios_platform_tests_4_of_4 master
recipe: plugins/plugins
bringup: true # New target: https://github.com/flutter/plugins/pull/6682
timeout: 30
properties:
add_recipes_cq: "true"
version_file: flutter_master.version
target_file: mac_ios_platform_tests.yaml
package_sharding: "--shardIndex 3 --shardCount 4"

# Don't run full platform tests on both channels in pre-submit.
- name: Mac_x64 ios_platform_tests_1_of_4 stable
recipe: plugins/plugins
presubmit: false
bringup: true # New target: https://github.com/flutter/plugins/pull/6682
timeout: 30
properties:
channel: stable
add_recipes_cq: "true"
version_file: flutter_stable.version
target_file: mac_ios_platform_tests.yaml
package_sharding: "--shardIndex 0 --shardCount 4"

- name: Mac_x64 ios_platform_tests_2_of_4 stable
recipe: plugins/plugins
presubmit: false
bringup: true # New target: https://github.com/flutter/plugins/pull/6682
timeout: 30
properties:
channel: stable
add_recipes_cq: "true"
version_file: flutter_stable.version
target_file: mac_ios_platform_tests.yaml
package_sharding: "--shardIndex 1 --shardCount 4"

- name: Mac_x64 ios_platform_tests_3_of_4 stable
recipe: plugins/plugins
presubmit: false
bringup: true # New target: https://github.com/flutter/plugins/pull/6682
timeout: 30
properties:
channel: stable
add_recipes_cq: "true"
version_file: flutter_stable.version
target_file: mac_ios_platform_tests.yaml
package_sharding: "--shardIndex 2 --shardCount 4"

- name: Mac_x64 ios_platform_tests_4_of_4 stable
recipe: plugins/plugins
presubmit: false
bringup: true # New target: https://github.com/flutter/plugins/pull/6682
timeout: 30
properties:
channel: stable
add_recipes_cq: "true"
version_file: flutter_stable.version
target_file: mac_ios_platform_tests.yaml
package_sharding: "--shardIndex 3 --shardCount 4"

- name: Windows win32-platform_tests master
recipe: plugins/plugins
timeout: 30
Expand Down
2 changes: 1 addition & 1 deletion .ci/flutter_master.version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0e98194681fdd83ee1c0a90b8b5b176df121bf1e
61e927d22fe6d82c94c368d62aa81f733bd9218d
2 changes: 1 addition & 1 deletion .ci/flutter_stable.version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6928314d505d2bb4777be05e45d7808a5aa91d2a
52b3dc25f6471c27b2144594abb11c741cb88f57
5 changes: 3 additions & 2 deletions .ci/scripts/build_all_plugins.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

platform="$1"
build_mode="$2"
cd all_packages
flutter build windows --debug
flutter build windows --release
flutter build "$platform" --"$build_mode"
10 changes: 10 additions & 0 deletions .ci/scripts/create_simulator.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash
# Copyright 2013 The Flutter Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

device=com.apple.CoreSimulator.SimDeviceType.iPhone-11
os=com.apple.CoreSimulator.SimRuntime.iOS-16-0

xcrun simctl list
xcrun simctl create Flutter-iPhone "$device" "$os" | xargs xcrun simctl boot
6 changes: 5 additions & 1 deletion .ci/targets/build_all_plugins.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,9 @@ tasks:
script: .ci/scripts/prepare_tool.sh
- name: create all_plugins app
script: .ci/scripts/create_all_plugins_app.sh
- name: build all_plugins
- name: build all_plugins debug
script: .ci/scripts/build_all_plugins.sh
args: ["windows", "debug"]
- name: build all_plugins release
script: .ci/scripts/build_all_plugins.sh
args: ["windows", "release"]
11 changes: 11 additions & 0 deletions .ci/targets/mac_build_all_plugins.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
tasks:
- name: prepare tool
script: .ci/scripts/prepare_tool.sh
- name: create all_plugins app
script: .ci/scripts/create_all_plugins_app.sh
- name: build all_plugins debug
script: .ci/scripts/build_all_plugins.sh
args: ["macos", "debug"]
- name: build all_plugins release
script: .ci/scripts/build_all_plugins.sh
args: ["macos", "release"]
22 changes: 22 additions & 0 deletions .ci/targets/mac_ios_platform_tests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
tasks:
- name: create simulator
script: .ci/scripts/create_simulator.sh
- name: build examples
script: script/tool_runner.sh
args: ["build-examples", "--ios"]
- name: xcode analyze
script: script/tool_runner.sh
args: ["xcode-analyze", "--ios"]
- name: xcode analyze deprecation
# Ensure we don't accidentally introduce deprecated code.
script: script/tool_runner.sh
args: ["xcode-analyze", "--ios", "--ios-min-version=13.0"]
- name: native test
script: script/tool_runner.sh
args: ["native-test", "--ios", "--ios-destination", "platform=iOS Simulator,name=iPhone 11,OS=latest"]
- name: drive examples
# `drive-examples` contains integration tests, which changes the UI of the application.
# This UI change sometimes affects `xctest`.
# So we run `drive-examples` after `native-test`; changing the order will result ci failure.
script: script/tool_runner.sh
args: ["drive-examples", "--ios", "--exclude=script/configs/exclude_integration_ios.yaml"]
6 changes: 6 additions & 0 deletions .ci/targets/mac_lint_podspecs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
tasks:
- name: prepare tool
script: .ci/scripts/prepare_tool.sh
- name: lint iOS and macOS podspecs
script: script/tool_runner.sh
args: ["podspecs"]
4 changes: 2 additions & 2 deletions .cirrus.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
gcp_credentials: ENCRYPTED[!f1177d1ddb5330ffaa9ea11c9c9e8e0c542185e895c36071f18cec923dd31c50ece6d18da89c2f6f1cd2d1a98d0c2eea!]
gcp_credentials: ENCRYPTED[!9e38557f08108136b3625b7e62c64cc9eccc50365ffeaaa55c6be52f1d8fd6225af5badc69983ca08484274f02f34424!]

# Run on PRs and main branch post submit only. Don't run tests when tagging.
only_if: $CIRRUS_TAG == '' && ($CIRRUS_PR != '' || $CIRRUS_BRANCH == 'main')
Expand Down Expand Up @@ -245,7 +245,7 @@ task:
CHANNEL: "master"
CHANNEL: "stable"
MAPS_API_KEY: ENCRYPTED[596a9f6bca436694625ac50851dc5da6b4d34cba8025f7db5bc9465142e8cd44e15f69e3507787753accebfc4910d550]
GCLOUD_FIREBASE_TESTLAB_KEY: ENCRYPTED[30e6cf7189e3ff3868edc25d2e638ef2aec70546456427064bbc74b297d36145364f49f9d26b327787a59df149d69262]
GCLOUD_FIREBASE_TESTLAB_KEY: ENCRYPTED[4457646586de940f49e054de7d82e60078b205ac627f11a89d077e63f639c9ba1002541d9209a9ee7777e159e97b43d0]
build_script:
- ./script/tool_runner.sh build-examples --apk
lint_script:
Expand Down
1 change: 1 addition & 0 deletions packages/video_player/video_player_android/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
* Updates code for `no_leading_underscores_for_local_identifiers` lint.
* Updates minimum Flutter version to 2.10.
* Fixes violations of new analysis option use_named_constants.
* Removes an unnecessary override in example code.

## 2.3.9

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -341,11 +341,6 @@ class MiniController extends ValueNotifier<VideoPlayerValue> {
void _updatePosition(Duration position) {
value = value.copyWith(position: position);
}

@override
void removeListener(VoidCallback listener) {
super.removeListener(listener);
}
}

/// Widget that displays the video controlled by [controller].
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## NEXT

* Adds an integration test for a bug where the aspect ratios of some HLS videos are incorrectly inverted.
* Removes an unnecessary override in example code.

## 2.3.7

* Fixes a bug where the aspect ratio of some HLS videos are incorrectly inverted.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -177,5 +177,19 @@ void main() {
expect(livestreamController.value.duration,
(Duration duration) => duration != Duration.zero);
});

testWidgets('rotated m3u8 has correct aspect ratio',
(WidgetTester tester) async {
// Some m3u8 files contain rotation data that may incorrectly invert the aspect ratio.
// More info [here](https://github.com/flutter/flutter/issues/109116).
final MiniController livestreamController = MiniController.network(
'https://flutter.github.io/assets-for-api-docs/assets/videos/hls/rotated_nail_manifest.m3u8',
);
await livestreamController.initialize();

expect(livestreamController.value.isInitialized, true);
expect(livestreamController.value.size.width,
lessThan(livestreamController.value.size.height));
});
});
}
Original file line number Diff line number Diff line change
Expand Up @@ -341,11 +341,6 @@ class MiniController extends ValueNotifier<VideoPlayerValue> {
void _updatePosition(Duration position) {
value = value.copyWith(position: position);
}

@override
void removeListener(VoidCallback listener) {
super.removeListener(listener);
}
}

/// Widget that displays the video controlled by [controller].
Expand Down
1 change: 1 addition & 0 deletions packages/webview_flutter/webview_flutter/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
* Fixes avoid_redundant_argument_values lint warnings and minor typos.
* Ignores unnecessary import warnings in preparation for [upcoming Flutter changes](https://github.com/flutter/flutter/pull/104231).
* Updates references to the obsolete master branch.
* Fixes typo from lowercase to uppercase.

## 3.0.4

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ class _WebViewState extends State<WebView> {
webViewPlatformCallbacksHandler: _platformCallbacksHandler,
javascriptChannelRegistry: _javascriptChannelRegistry,
gestureRecognizers: widget.gestureRecognizers,
creationParams: _creationParamsfromWidget(widget),
creationParams: _creationParamsFromWidget(widget),
);
}

Expand Down Expand Up @@ -360,7 +360,7 @@ class _WebViewState extends State<WebView> {
}
}

CreationParams _creationParamsfromWidget(WebView widget) {
CreationParams _creationParamsFromWidget(WebView widget) {
return CreationParams(
initialUrl: widget.initialUrl,
webSettings: _webSettingsFromWidget(widget),
Expand Down
6 changes: 6 additions & 0 deletions script/tool/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## NEXT

* Pins `package:git` dependency to `2.0.x` until `dart >=2.18.0` becomes our
oldest legacy.
* Updates test mocks.

## 0.13.0

* Renames `all-plugins-app` to `create-all-packages-app` to clarify what it
Expand Down
3 changes: 2 additions & 1 deletion script/tool/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ dependencies:
collection: ^1.15.0
colorize: ^3.0.0
file: ^6.1.0
git: ^2.0.0
# Pin git to 2.0.x until dart >=2.18 is legacy
git: '>=2.0.0 <2.1.0'
http: ^0.13.3
http_multi_server: ^3.0.1
meta: ^1.3.0
Expand Down
Loading