Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
239 commits
Select commit Hold shift + click to select a range
ccdc952
Roll Flutter (stable) from 300451adae58 to 54e66469a933 (1 revision) …
engine-flutter-autoroll Apr 19, 2024
136e73b
Roll Flutter from fb110b98da15 to 98685a099fdd (28 revisions) (#6577)
engine-flutter-autoroll Apr 19, 2024
f630fcd
[flutter_markdown] Custom fontfeature superscript (#5874)
dawidope Apr 19, 2024
690eb30
Roll Flutter from 98685a099fdd to 1a905d508de1 (30 revisions) (#6583)
engine-flutter-autoroll Apr 21, 2024
01a32c4
Bump actions/checkout from 4.1.2 to 4.1.3 (#6587)
dependabot[bot] Apr 22, 2024
46d7d5e
Bump actions/upload-artifact from 4.3.1 to 4.3.2 (#6571)
dependabot[bot] Apr 22, 2024
7f14b8a
[pointer_interceptor_web] Remove semantic tests. (#6580)
ditman Apr 22, 2024
cb89e65
Roll Flutter from 1a905d508de1 to 140edb988312 (5 revisions) (#6594)
engine-flutter-autoroll Apr 22, 2024
8857221
[image_picker] Fix If imageToScale is nil, the app will crash (#14668…
zeqinjie Apr 22, 2024
cf6d280
Bump actions/upload-artifact from 4.3.2 to 4.3.3 (#6598)
dependabot[bot] Apr 23, 2024
b45016b
Bump github/codeql-action from 3.25.1 to 3.25.2 (#6597)
dependabot[bot] Apr 23, 2024
26b2bf4
Roll Flutter from 140edb988312 to 77043bae1a5e (21 revisions) (#6599)
engine-flutter-autoroll Apr 23, 2024
080fd74
Bump legacy all_packages project AGP version to 7.0.0, Gradle version…
camsim99 Apr 23, 2024
7cd0339
[in_app_purchase_android] Readme update for Alternative billing (#6578)
reidbaker Apr 23, 2024
179f925
Reverts "Bump legacy all_packages project AGP version to 7.0.0, Gradl…
auto-submit[bot] Apr 24, 2024
890ec36
[go_router] Fixes an issue where route future does not complete when …
chunhtai Apr 24, 2024
59916a9
[camera] Finish converting iOS to Pigeon (#6601)
stuartmorgan-g Apr 24, 2024
2925db2
Roll Flutter from 77043bae1a5e to dba4f7747441 (30 revisions) (#6607)
engine-flutter-autoroll Apr 24, 2024
1292dc3
Add CI steps to test iOS and macOS plugins with both CocoaPods and Sw…
vashworth Apr 24, 2024
26f660b
[go_router] Add `GoRouterState state` parameter to `GoRouterData.onEx…
ValentinVignal Apr 24, 2024
fde908d
Bump actions/checkout from 4.1.3 to 4.1.4 (#6609)
dependabot[bot] Apr 25, 2024
72a4f12
Roll Flutter from dba4f7747441 to 5d3bca4500b1 (17 revisions) (#6612)
engine-flutter-autoroll Apr 25, 2024
981c1d5
[go_router_builder] add support to go_router_builder for initializing…
satoyan Apr 25, 2024
ce74a85
[go_router] Update redirect documentation example code for clarity (#…
elitree Apr 25, 2024
8e24a73
Bump github/codeql-action from 3.25.2 to 3.25.3 (#6615)
dependabot[bot] Apr 26, 2024
dd01140
Roll Flutter from 5d3bca4500b1 to 2e806700b928 (20 revisions) (#6616)
engine-flutter-autoroll Apr 26, 2024
f5a4517
Roll Flutter from 2e806700b928 to f9933b6994e4 (17 revisions) (#6620)
engine-flutter-autoroll Apr 27, 2024
87a7c51
Roll Flutter from f9933b6994e4 to db8c475cac11 (3 revisions) (#6622)
engine-flutter-autoroll Apr 29, 2024
36c42bd
[file_selector_android] Modifies `getDirectoryPath`, `openFile`, `ope…
camsim99 Apr 29, 2024
8f35774
[file_selector_android] Update `LICENSE` file to include newly added …
camsim99 Apr 29, 2024
9aa04eb
[go_router] Don't log if `hierarchicalLoggingEnabled` is `true` (#6019)
ValentinVignal Apr 29, 2024
bc6c186
[google_maps_flutter_android] Add marker clustering support (#6185)
jokerttu Apr 30, 2024
cc47b06
[google_maps_flutter_web] Add marker clustering support (#6187)
jokerttu Apr 30, 2024
af6fae4
[image_picker] Update documentation to note that Photo Picker use is …
gmackall Apr 30, 2024
ebd138d
[flutter_adaptive_scaffold] use `MediaQuery.sizeOf` instead of `Media…
waleedf112 Apr 30, 2024
26bd37b
Roll Flutter from db8c475cac11 to b597dd24cb97 (23 revisions) (#6631)
engine-flutter-autoroll Apr 30, 2024
d520519
[go_router_builder] Tweaks for latest analyzer-6.5.0 (#6632)
ditman Apr 30, 2024
aea93d2
Skip podspec Swift Search Path validation if only swift file is Packa…
vashworth Apr 30, 2024
d500725
Roll Flutter from b597dd24cb97 to d33bb8fa5eb8 (7 revisions) (#6633)
engine-flutter-autoroll May 1, 2024
6e60826
[webview_flutter_android] Fixes iframe navigation with `onNavigationR…
petermnt May 1, 2024
1856a6e
Roll Flutter from d33bb8fa5eb8 to bf7191fd3884 (34 revisions) (#6637)
engine-flutter-autoroll May 2, 2024
62c08f4
Skip podspec Swift Search Path validation if only swift file is Packa…
vashworth May 2, 2024
f4719ca
[in_app_purchase] implement countryCode correctly (#6636)
reidbaker May 2, 2024
4efbbb5
Roll Flutter from bf7191fd3884 to f1037a01b796 (21 revisions) (#6641)
engine-flutter-autoroll May 3, 2024
9a94bfd
Fix unnecessary toList/fromList calls during encode/decode process (#…
tarrinneal May 6, 2024
2dfe645
[camera] MediaSettings parameter for createCameraWithSettings (#3586)
PROGrand May 6, 2024
79d733c
[camerax] Prevent using unsupported concurrent camera use cases (#6608)
camsim99 May 6, 2024
c4843a7
Roll Flutter from f1037a01b796 to 04424e10fe28 (25 revisions) (#6674)
engine-flutter-autoroll May 6, 2024
c948ff6
[ci] Reduce the number of tasks in recipe CQ (#6673)
stuartmorgan-g May 6, 2024
ca01168
[camerax] Add empty implementation for `prepareForVideoRecording` not…
camsim99 May 6, 2024
45a4573
[file_selector] Add support for SPM (#6672)
stuartmorgan-g May 6, 2024
5ccddfc
[shared_preferences_foundation] Adds Swift Package Manager compatibil…
vashworth May 6, 2024
8df8b5f
[camera] Ignore implementation imports outside of lib (#6191)
srawlins May 7, 2024
55499d8
Roll Flutter from 04424e10fe28 to 7920a52dd568 (27 revisions) (#6683)
engine-flutter-autoroll May 7, 2024
4595c41
[go_router] guard context access in then clauses (#6685)
goderbauer May 7, 2024
8de142d
[path_provider] Add Swift Package Manager support (#6680)
stuartmorgan-g May 7, 2024
0167b51
[ios_platform_images] Add Swift Package Manager support (#6684)
loic-sharma May 8, 2024
09a373f
[video_player_avfoundation] Adds Swift Package Manager compatibility …
vashworth May 8, 2024
a444af5
[image_picker_ios] Adds Swift Package Manager compatibility to image_…
vashworth May 8, 2024
a9f14bc
Reverts "[image_picker_ios] Adds Swift Package Manager compatibility …
auto-submit[bot] May 8, 2024
d670b2c
Temporarily add empty header files to video_player_avfoundation so in…
vashworth May 8, 2024
4e79678
[pointer_interceptor] Remove `implements` from app-facing package (#6…
bparrishMines May 9, 2024
4799c49
[flutter_lints] Rev to 4.0.0; prepare for publishing (#6695)
goderbauer May 9, 2024
6c4482a
[image_picker_ios] Adds Swift Package Manager compatibility (#6696)
vashworth May 9, 2024
3fb302d
[go_router] Feat add route redirect shellroutes (#114559) (#6432)
VictorOhashi May 9, 2024
69a35b2
Roll Flutter from 00f40667c16a to 2bfb1b0e2f61 (9 revisions) (#6706)
engine-flutter-autoroll May 10, 2024
4d4567a
[local_auth_darwin] Adds Swift Package Manager compatibility (#6708)
loic-sharma May 10, 2024
a22381f
[quick_actions_android] Switch to `Compat` version of `ShortcutManage…
gmackall May 10, 2024
a8e9147
Update .gitignore for Swift Package Manager (#6705)
loic-sharma May 10, 2024
1ab2f5b
[camerax] Make fixes required to swap camera_android_camerax for came…
camsim99 May 10, 2024
f18b895
[image_picker_android] - will fix crash on Android 12+ devices (#6691)
Mairramer May 10, 2024
a489d49
[Android][webview_flutter] Run integration tests on emulators running…
camsim99 May 10, 2024
75930f8
[url_launcher] Add Swift Package Manager support (#6677)
stuartmorgan-g May 10, 2024
f1ca81a
[quick_actions] Add Swift Package Manager support (#6682)
stuartmorgan-g May 10, 2024
29dbf53
Roll Flutter from 2bfb1b0e2f61 to 2aa05c16509b (26 revisions) (#6713)
engine-flutter-autoroll May 11, 2024
d891fb9
Roll Flutter from 2aa05c16509b to 1dfb46e9c087 (3 revisions) (#6715)
engine-flutter-autoroll May 12, 2024
ee8ee2e
[image_picker_ios] Make all headers public for SwiftPM to keep inline…
vashworth May 13, 2024
9588cce
[camera] Change default Android implementation from `camera_android` …
camsim99 May 13, 2024
f91f689
Roll Flutter from 1dfb46e9c087 to 125543505d26 (6 revisions) (#6723)
engine-flutter-autoroll May 13, 2024
1412041
[in_app_purchase] Update country code Android example (#6722)
stuartmorgan-g May 13, 2024
fd714bd
[go_router] Use the correct configuration to build the state passed t…
ValentinVignal May 14, 2024
2cc307e
Roll Flutter from 125543505d26 to d2da1b280b51 (26 revisions) (#6729)
engine-flutter-autoroll May 14, 2024
abc3d07
[webview_flutter_wkwebview] Skip `withWeakReferenceTo` integration te…
bparrishMines May 14, 2024
2316df1
Roll Flutter (stable) from 54e66469a933 to 5dcb86f68f23 (1402 revisio…
engine-flutter-autoroll May 14, 2024
0e75adf
[image_picker_android] Refactor getting of paths from intent to singl…
gmackall May 14, 2024
2f35b83
[in_app_purchase_storekit] migrate main plugin class to swift in prep…
LouiseHsu May 14, 2024
0870dc8
[webview_flutter_wkwebview] Fixes JSON.stringify() cannot serialize c…
LinXunFeng May 15, 2024
788b666
Update the repo for the 3.22 stable release (#6730)
stuartmorgan-g May 15, 2024
87a02e3
Roll Flutter from d2da1b280b51 to 39651e84ea12 (18 revisions) (#6738)
engine-flutter-autoroll May 15, 2024
5d951b0
[webview_flutter] Skip "Video playback policy" drive tests (#6747)
vashworth May 16, 2024
6b94aac
[pigeon][swift] Removes FlutterError in favor of PigeonError (#6611)
bc-lee May 16, 2024
7d0f88f
Roll Flutter from 39651e84ea12 to 0d22d9101aac (23 revisions) (#6748)
engine-flutter-autoroll May 16, 2024
b83b63c
[two_dimensional_scrollables] TreeView (#6592)
Piinks May 16, 2024
898d5bc
[file_selector_ios, image_picker_ios] Remove Swift Package Support (#…
vashworth May 16, 2024
9218713
[camera_avfoundation] Revert camera example PRODUCT_BUNDLE_IDENTIFIER…
jmagman May 16, 2024
29101bf
[camera_android_camerax] update to latest stable camerax 1.3.3 (#6737)
hamdikahloun May 16, 2024
5690c37
[go_router_builder] Add test for `onExit` (#6614)
ValentinVignal May 16, 2024
ae4dd32
Roll Flutter from 0d22d9101aac to 00425ef1be26 (14 revisions) (#6753)
engine-flutter-autoroll May 17, 2024
a99c7f5
[go_router] Fixes issue that path parameters are not set when using t…
chunhtai May 17, 2024
6507c42
Bump actions/checkout from 4.1.4 to 4.1.6 (#6751)
dependabot[bot] May 18, 2024
ba19b24
Roll Flutter from 00425ef1be26 to adf279f3080f (13 revisions) (#6761)
engine-flutter-autoroll May 19, 2024
8137353
Roll Flutter from adf279f3080f to 02a6c91e4d37 (8 revisions) (#6776)
engine-flutter-autoroll May 20, 2024
448b484
[url_launcher]: Bump androidx.annotation:annotation from 1.7.1 to 1.8…
dependabot[bot] May 20, 2024
f17916a
[in_app_pur]: Bump androidx.annotation:annotation from 1.7.1 to 1.8.0…
dependabot[bot] May 20, 2024
cca111d
[file_selector]: Bump androidx.annotation:annotation from 1.7.1 to 1.…
dependabot[bot] May 20, 2024
bf2570a
Bump github/codeql-action from 3.25.3 to 3.25.6 (#6777)
dependabot[bot] May 21, 2024
beaec86
[local_auth] Remove use of OCMock (#6757)
stuartmorgan-g May 21, 2024
1b1b5e3
Roll Flutter from 02a6c91e4d37 to d02292dbc409 (22 revisions) (#6778)
engine-flutter-autoroll May 21, 2024
ef756da
[interactive_media_ads] Add SPM support (#6756)
stuartmorgan-g May 21, 2024
b1ffd1e
[go_router] New feature improve debug full path (#6714)
hashirshoaeb May 21, 2024
0bdda37
[in_app_purchase_android] Introduced new ReplacementMode for Android'…
vongrad May 22, 2024
cdd8e2d
[interactive_media_ads]: Bump androidx.annotation:annotation from 1.5…
dependabot[bot] May 22, 2024
6525441
[local_auth] Convert native unit tests to Swift (#6779)
stuartmorgan-g May 22, 2024
79e4cbe
[rfw] Adds support for `DecorationImage.filterQuality`. (#6781)
goderbauer May 23, 2024
1c4eaf3
Roll Flutter from d02292dbc409 to 73bf206f35e7 (31 revisions) (#6780)
engine-flutter-autoroll May 23, 2024
66530f2
[webview]: Bump androidx.webkit:webkit from 1.7.0 to 1.10.0 in /packa…
dependabot[bot] May 23, 2024
df16d4e
[file_selector] Convert iOS to Swift and SPM (#6755)
stuartmorgan-g May 23, 2024
13d111d
Roll Flutter (stable) from 5dcb86f68f23 to a14f74ff3a1c (3 revisions)…
engine-flutter-autoroll May 23, 2024
1008d9e
Roll Flutter from 73bf206f35e7 to 8d955cdd644e (24 revisions) (#6786)
engine-flutter-autoroll May 23, 2024
40b66fc
[webview_flutter] Adds onHttpError callback to NavigationDelegate to …
bparrishMines May 24, 2024
7b423f5
[ci] Start moving podspec check to ARM (#6782)
stuartmorgan-g May 24, 2024
40268e7
[google_maps_flutter_platform_interface] Add improvements to BitmapDe…
jokerttu May 24, 2024
df6dd24
Roll Flutter from 8d955cdd644e to 8dd08314d2e4 (22 revisions) (#6788)
engine-flutter-autoroll May 24, 2024
ce3d2f1
[pointer_interceptor] Add Swift Package Manager support (#6790)
stuartmorgan-g May 24, 2024
0fa56b7
[ci] Switch podspec check over to ARM (#6791)
stuartmorgan-g May 24, 2024
d52b992
Roll Flutter from 8dd08314d2e4 to cb26a01a40e9 (12 revisions) (#6794)
engine-flutter-autoroll May 25, 2024
5cc71d0
Update Flutter wiki links (#6789)
stuartmorgan-g May 26, 2024
b7bcb4b
Roll Flutter from cb26a01a40e9 to 656447127360 (3 revisions) (#6796)
engine-flutter-autoroll May 26, 2024
a933c30
Roll Flutter from 656447127360 to 0b31ffc125e9 (7 revisions) (#6820)
engine-flutter-autoroll May 27, 2024
f175de5
Roll Flutter from 0b31ffc125e9 to a1a33e63b911 (6 revisions) (#6822)
engine-flutter-autoroll May 28, 2024
f8cf711
[webview]: Bump androidx.webkit:webkit from 1.10.0 to 1.11.0 in /pack…
dependabot[bot] May 28, 2024
b4d134e
[go_router] docs: updated link in navigation.md to correct file path …
altynbek132 May 28, 2024
b16a7e3
[many] Remove references to v1 embedding (#6494)
gmackall May 28, 2024
a61103b
[google_maps_flutter] Implement polyline patterns in google maps ios …
Hari-07 May 28, 2024
31d3329
[pigeon]: Bump org.jetbrains.kotlin:kotlin-gradle-plugin from 1.9.22 …
dependabot[bot] May 28, 2024
8b7b00b
[flutter_adaptive_scaffold] Migrate MaterialStateProperty to WidgetSt…
Piinks May 29, 2024
4405f77
[rfw] Migrate deprecated doc references (#6744)
Piinks May 29, 2024
82a811f
Roll Flutter from a1a33e63b911 to c85fa6abf4ff (20 revisions) (#6829)
engine-flutter-autoroll May 29, 2024
5c60fdc
[Re-land] Bump legacy all_packages project AGP version to 7.0.0, Grad…
camsim99 May 29, 2024
d3b60e5
[camerax] Add notes about Android permissions (#6741)
camsim99 May 29, 2024
e35f291
[dynamic_layouts] Remove the dynamic_layouts package (#6830)
Piinks May 29, 2024
058851b
Migrate `camera/android` from `SurfaceTexture`->`SurfaceProducer`. (#…
matanlurey May 29, 2024
47d5eb2
Migrate CameraX from SurfaceTexture to SurfaceProducer. (#6462)
matanlurey May 29, 2024
28e8afd
[google_maps_flutter] Undeprecate BitmapDescriptor methods (#6832)
jokerttu May 29, 2024
a5dd314
Migrate `video_player/android` from `SurfaceTexture`->`SurfaceProduce…
matanlurey May 29, 2024
910fabb
Amend package:web tweaks to allow package:web roll (#6793)
srujzs May 29, 2024
9ad2327
[pigeon] Updates `PigeonInstanceMangerApi` to use the shared api chan…
bparrishMines May 30, 2024
decb460
Revert "Migrate CameraX from SurfaceTexture to SurfaceProducer." (#6838)
May 30, 2024
d8e8e8c
[image_picker] Adds comment for the limit parameter (#6678)
LinXunFeng May 31, 2024
6872c3b
[image_picker_ios] Re-adds Swift Package Manager compatibility (#6833)
loic-sharma May 31, 2024
11e192a
Roll Flutter from c85fa6abf4ff to 7eebe2992aba (26 revisions) (#6836)
engine-flutter-autoroll Jun 1, 2024
24b0eb5
Revert "Roll Flutter from c85fa6abf4ff to 7eebe2992aba (#6836)" (#6860)
ditman Jun 3, 2024
539a5f9
[url_launcher] Add support for setting show title on Chrome Custom Ta…
Alex-Usmanov Jun 3, 2024
bb8c7b2
[pigeon] Kotlin/Java method overloading for the `setUp` method (#6843)
RobinCombrink Jun 3, 2024
5e88f94
Clean Xcode project before analyzing and testing (#6842)
vashworth Jun 4, 2024
1eb04b3
Avoid cumbersome formatter workaround (#6573)
lrhn Jun 4, 2024
dcd8586
[google_maps_flutter] Custom marker size improvements - platform impl…
jokerttu Jun 4, 2024
c472e40
Correcting the typo of Flutter in projects (#6850)
meg4cyberc4t Jun 4, 2024
84fd510
[ci] Manual roll Flutter to c246ecd (84 revisions) + fixes (#6863)
ditman Jun 4, 2024
5183cac
[rfw] Material slider widget (#6610)
uberchilly Jun 5, 2024
3885ac2
[google_maps_flutter] Custom marker size improvements (#4055)
jokerttu Jun 5, 2024
67b082d
[path_provider] Skip verifying sample file on macOS (#6874)
vashworth Jun 5, 2024
023210f
Roll Flutter from c246ecdf8e8d to 27e06569a157 (17 revisions) (#6875)
engine-flutter-autoroll Jun 5, 2024
586faa6
[google_sign_in_web] Update button_tester to use web_only library. (#…
ditman Jun 5, 2024
3282c23
Disable sandboxing for macOS tests in CI (#6866)
vashworth Jun 6, 2024
a051bd6
Roll Flutter from 27e06569a157 to 4608a8913767 (17 revisions) (#6876)
engine-flutter-autoroll Jun 6, 2024
027c7d0
Roll Flutter (stable) from a14f74ff3a1c to 761747bfc538 (6 revisions)…
engine-flutter-autoroll Jun 6, 2024
2e928d7
[pigeon] Moves all codec logic to singular custom codec (#6600)
tarrinneal Jun 6, 2024
4a178f1
Disable sandboxing directly for macOS tests (#6880)
vashworth Jun 6, 2024
6a01138
Run tests on macOS 13 or 14 (#6877)
vashworth Jun 6, 2024
fb1eeff
[two_dimensional_scrollables] Adds generics to the callbacks and buil…
baumths Jun 6, 2024
8a2c4e4
Revert "Migrate `video_player/android` from `SurfaceTexture`->`Surfac…
Jun 6, 2024
14722b7
[video_player_android] Migrate ExoPlayer to ExoPlayer-Media3 1.3.1 (#…
emakar Jun 7, 2024
216e464
[pigeon] Fix handling of null class args in C++ (#6881)
stuartmorgan-g Jun 7, 2024
e95fe4a
Manual roll Flutter from 4608a8913767 to fc19ecfc585a (38 revisions) …
engine-flutter-autoroll Jun 7, 2024
842e2db
Roll Flutter from fc19ecfc585a to 32081aab69f8 (9 revisions) (#6896)
engine-flutter-autoroll Jun 10, 2024
c9d2fc9
Remove package:platform source (#6898)
mit-mit Jun 10, 2024
28e5e31
Change CODEOWNERS for metrics_center (#6892)
jmagman Jun 10, 2024
80f0e16
[ci] Allow `platform` references (#6903)
stuartmorgan-g Jun 10, 2024
61ed839
[video_player] Try to address test flake (#6899)
stuartmorgan-g Jun 10, 2024
3140820
Ensure each code block specified in the markdown uses its own ScrollC…
apwilson Jun 11, 2024
8c24fd4
Roll Flutter from 32081aab69f8 to 14df7be3f947 (21 revisions) (#6907)
engine-flutter-autoroll Jun 11, 2024
260102b
[tool] Provide better CI feedback for combo PRs (#6865)
stuartmorgan-g Jun 11, 2024
b8dd664
Remove CODEOWNER for google_sign_in_ios and image_picker_ios (#6891)
jmagman Jun 12, 2024
7805455
[rfw][ci] Skip failing `rfw` golden tests and manual roll (#6915)
bparrishMines Jun 12, 2024
0891835
[go_router] Added proper `redirect` handling for `ShellRoute.$route` …
vasilich6107 Jun 13, 2024
1ad8d89
Refactor `VideoPlayer` to be less exposed to `EventChannel` & related…
matanlurey Jun 13, 2024
a0f2552
Roll Flutter from b1f9d7131c8c to 01db23b82233 (15 revisions) (#6921)
engine-flutter-autoroll Jun 13, 2024
dd04ab1
Move `Player.Listener` impl, remove `@VisibleForTesting isInitialized…
matanlurey Jun 13, 2024
cab9c86
Roll Flutter from 01db23b82233 to 349ec7183cd0 (19 revisions) (#6926)
engine-flutter-autoroll Jun 14, 2024
4fdd3d0
Roll Flutter from 349ec7183cd0 to 5187cab7bdd4 (7 revisions) (#6927)
engine-flutter-autoroll Jun 15, 2024
711b4ac
[local_auth]: Bump androidx.core:core from 1.10.1 to 1.13.1 in /packa…
dependabot[bot] Jun 17, 2024
67761c6
[camera]: Bump androidx.annotation:annotation from 1.7.1 to 1.8.0 in …
dependabot[bot] Jun 17, 2024
bfd0b78
[path_provider]: Bump androidx.annotation:annotation from 1.7.1 to 1.…
dependabot[bot] Jun 17, 2024
811414a
[quick_actions]: Bump com.android.tools.build:gradle from 7.2.1 to 8.…
dependabot[bot] Jun 17, 2024
21ed6a6
[sign_in]: Bump com.google.guava:guava from 32.0.1-android to 33.2.1-…
dependabot[bot] Jun 17, 2024
747340b
[camera]: Bump com.google.guava:guava from 32.0.1-android to 33.2.1-a…
dependabot[bot] Jun 17, 2024
bf9af30
[google_sign_in_web] README.md typo (#6642)
Jerinji2016 Jun 17, 2024
1e62ab0
Roll Flutter from 5187cab7bdd4 to ccf3abe94047 (6 revisions) (#6940)
engine-flutter-autoroll Jun 17, 2024
937038c
[flutter_markdown] fixes null check operator used on null value if on…
jimmyff Jun 18, 2024
cd73061
[pigeon] Fully-qualify types in Equatable extension test (#6946)
jmagman Jun 18, 2024
5ba990b
[google_maps_flutter] deprecate old BitmapDescriptor methods (#6905)
jokerttu Jun 20, 2024
b135e2a
[many] More v1 embedding deletion that was missed in https://github.c…
gmackall Jun 20, 2024
a958207
Manual roll Flutter from ccf3abe94047 to 6c06abbb5576 (21 revisions) …
engine-flutter-autoroll Jun 20, 2024
853c677
[google_maps_flutter] Move Android inspector to Pigeon (#6958)
stuartmorgan-g Jun 20, 2024
9c6f691
[quick_actions] Update to Pigeon 20 (#6961)
stuartmorgan-g Jun 21, 2024
8966342
Revert "Migrate `camera/android` from `SurfaceTexture`->`SurfaceProdu…
AlexV525 Jun 21, 2024
f116dd2
[google_maps_flutter] Partial Android host API Pigeon conversion (#6967)
stuartmorgan-g Jun 21, 2024
04d2572
[google_maps_flutter] Add iOS SDK 9.x support (#6902)
stuartmorgan-g Jun 22, 2024
02e71b0
[in_app_purchase_storekit] Remove OCMock (#6862)
LouiseHsu Jun 22, 2024
fdb78fc
[flutter_adaptive_scaffold] Allows for the animation duration to be a…
oravecz-jpmc Jun 24, 2024
b4d79b5
[multicast_dns] Optimized Socket Binding: Always bind to 0.0.0.0 for …
biagiopietro Jun 24, 2024
03f5f6d
[interactive_media_ads] Fix README badge image URL (#6979)
stuartmorgan-g Jun 24, 2024
e9a3fcc
Roll Flutter from 6c06abbb5576 to e726eb401c2c (51 revisions) (#6987)
engine-flutter-autoroll Jun 25, 2024
f80cab4
[interactive_media_ads] Adds initial Android implementation (#6733)
bparrishMines Jun 25, 2024
71b2f68
[various] Update flutter.dev links to more reliable destinations (#6963)
parlough Jun 25, 2024
eb0e54a
[pigeon] Update testing and docs (#6984)
stuartmorgan-g Jun 25, 2024
1612774
Final refactor of `video_player_android` before `SurfaceProducer#setC…
matanlurey Jun 25, 2024
50ad6ee
[pigeon] Implement equals for Java data classes (#6992)
stuartmorgan-g Jun 27, 2024
5549eba
Update `web_benchmarks` package to properly support wasm. (#6970)
eyebrowsoffire Jun 27, 2024
69e7fc1
[tools] Fix vm test requirement (#6995)
stuartmorgan-g Jun 27, 2024
62e1963
[interactive_media_ads] Updates `README` with a usage section and fix…
bparrishMines Jun 27, 2024
a9240e6
[ci] Add Wasm compilation to all_packages web app. (#6981)
ditman Jun 27, 2024
6b024ca
[video_player] Exposes VideoPlayerWebOptions. (#6990)
ditman Jun 27, 2024
412ec46
Bump github/codeql-action from 3.25.6 to 3.25.10 (#6924)
dependabot[bot] Jun 28, 2024
e50f450
Manual roll Flutter from e726eb401c2c to 15f95ce0c38e (48 revisions) …
engine-flutter-autoroll Jun 28, 2024
90a5444
[google_maps_flutter] Fix Obj-C type handling (#7010)
stuartmorgan-g Jun 28, 2024
d43a827
Bump ossf/scorecard-action from 2.3.1 to 2.3.3 (#6709)
dependabot[bot] Jun 28, 2024
9fc8627
[flutter_markdown] Add horizontal scroll for markdown table (#6983)
phong010198 Jun 28, 2024
b63626c
Manual roll Flutter from 15f95ce0c38e to 651a17db5427 (7 revisions) (…
engine-flutter-autoroll Jun 29, 2024
0e3460c
[video_player] Bumps web implementation dependency. (#7015)
ditman Jun 29, 2024
c0b4cda
[ci] Adds @matanlurey to some Android CODEOWNERS until Impeller is en…
matanlurey Jul 1, 2024
d7a7dfa
[camera]: Bump com.android.tools.build:gradle from 7.3.0 to 8.5.0 in …
dependabot[bot] Jul 1, 2024
6b7f732
[video_player]: Bump com.android.tools.build:gradle from 7.2.1 to 8.5…
dependabot[bot] Jul 1, 2024
4ea5948
[local_auth]: Bump androidx.test.espresso:espresso-core from 3.5.1 to…
dependabot[bot] Jul 1, 2024
eff249d
[google_maps_flutter] Semi-convert remaining Android host API calls t…
stuartmorgan-g Jul 1, 2024
d2c7c67
[in_app_pur]: Bump androidx.test.espresso:espresso-core from 3.5.1 to…
dependabot[bot] Jul 1, 2024
d2705fb
Roll Flutter from 651a17db5427 to 99bb2ff6a614 (10 revisions) (#7038)
engine-flutter-autoroll Jul 1, 2024
040fc6d
Update espresso dependencies
reidbaker Jul 2, 2024
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
Prev Previous commit
Next Next commit
[video_player] Exposes VideoPlayerWebOptions. (flutter#6990)
Exports types `VideoPlayerWebOptions` and `VideoPlayerWebOptionsControls` to customize the `webOptions` field in `VideoPlayerOptions` objects.

Forwards `webOptions` to the web implementation.

## Usage

Can be used as follows:

```dart
_controller = VideoPlayerController.asset(
  'assets/Butterfly-209.mp4',
  videoPlayerOptions: const VideoPlayerOptions(
    webOptions: VideoPlayerWebOptions(
        controls: VideoPlayerWebOptionsControls.enabled(
          allowDownload: false,
          allowFullscreen: false,
          allowPlaybackRate: false,
          allowPictureInPicture: false,
        ),
        allowContextMenu: false,
        allowRemotePlayback: false,
     ),
  ),
);
```

<img width="967" alt="Bildschirmfoto 2023-07-06 um 17 04 59" src="https://github.com/flutter/packages/assets/13286425/0fa92713-11cb-4073-86cf-2ea4ba486a6c">

## Issues

* Fixes: flutter/flutter#150327
* Fixes: flutter/flutter#64397
* Fixes: flutter/flutter#62192
* Fixes part of: flutter/flutter#88151
* Lands: flutter#3259 (adds missing test)

Co-authored-by: James Leahy <[email protected]>
  • Loading branch information
ditman and defuncart authored Jun 27, 2024
commit 6b024cab554c519c19a4e16f6a1142bb7b20681a
6 changes: 6 additions & 0 deletions packages/video_player/video_player/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 2.9.0

* Exports types: `VideoPlayerWebOptions` and `VideoPlayerWebOptionsControls` to
customize the `webOptions` field in `VideoPlayerOptions` objects.
* Forwards `webOptions` to the web implementation.

## 2.8.7

* Ensures that `value.position` never reports a value larger than `value.duration`.
Expand Down
16 changes: 15 additions & 1 deletion packages/video_player/video_player/lib/video_player.dart
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,13 @@ import 'package:video_player_platform_interface/video_player_platform_interface.
import 'src/closed_caption_file.dart';

export 'package:video_player_platform_interface/video_player_platform_interface.dart'
show DataSourceType, DurationRange, VideoFormat, VideoPlayerOptions;
show
DataSourceType,
DurationRange,
VideoFormat,
VideoPlayerOptions,
VideoPlayerWebOptions,
VideoPlayerWebOptionsControls;

export 'src/closed_caption_file.dart';

Expand Down Expand Up @@ -436,6 +442,14 @@ class VideoPlayerController extends ValueNotifier<VideoPlayerValue> {
_creatingCompleter!.complete(null);
final Completer<void> initializingCompleter = Completer<void>();

// Apply the web-specific options
if (kIsWeb && videoPlayerOptions?.webOptions != null) {
await _videoPlayerPlatform.setWebOptions(
_textureId,
videoPlayerOptions!.webOptions!,
);
}

void eventListener(VideoEvent event) {
if (_isDisposed) {
return;
Expand Down
4 changes: 2 additions & 2 deletions packages/video_player/video_player/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: Flutter plugin for displaying inline video with other Flutter
widgets on Android, iOS, and web.
repository: https://github.com/flutter/packages/tree/main/packages/video_player/video_player
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+video_player%22
version: 2.8.7
version: 2.9.0

environment:
sdk: ">=3.2.3 <4.0.0"
Expand All @@ -27,7 +27,7 @@ dependencies:
html: ^0.15.0
video_player_android: ^2.3.5
video_player_avfoundation: ^2.5.6
video_player_platform_interface: ">=6.1.0 <7.0.0"
video_player_platform_interface: ^6.2.0
video_player_web: ^2.0.0

dev_dependencies:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,59 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

import 'package:flutter/foundation.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:video_player/video_player.dart';
import 'package:video_player_platform_interface/video_player_platform_interface.dart';

import 'video_player_test.dart' show FakeVideoPlayerPlatform;

void main() {
// This test needs to run first and therefore needs to be the only test
// in this file.
test('plugin initialized', () async {
TestWidgetsFlutterBinding.ensureInitialized();
final FakeVideoPlayerPlatform fakeVideoPlayerPlatform =
FakeVideoPlayerPlatform();
VideoPlayerPlatform.instance = fakeVideoPlayerPlatform;
TestWidgetsFlutterBinding.ensureInitialized();

late FakeVideoPlayerPlatform fakeVideoPlayerPlatform;

setUp(() {
VideoPlayerPlatform.instance =
fakeVideoPlayerPlatform = FakeVideoPlayerPlatform();
});

test('plugin initialized', () async {
final VideoPlayerController controller = VideoPlayerController.networkUrl(
Uri.parse('https://127.0.0.1'),
);
await controller.initialize();
expect(fakeVideoPlayerPlatform.calls.first, 'init');
});

test('web configuration is applied (web only)', () async {
const VideoPlayerWebOptions expected = VideoPlayerWebOptions(
allowContextMenu: false,
allowRemotePlayback: false,
controls: VideoPlayerWebOptionsControls.enabled(),
);

final VideoPlayerController controller = VideoPlayerController.networkUrl(
Uri.parse('https://127.0.0.1'),
videoPlayerOptions: VideoPlayerOptions(
webOptions: expected,
),
);
await controller.initialize();

expect(
() {
fakeVideoPlayerPlatform.calls.singleWhere(
(String call) => call == 'setWebOptions',
);
},
returnsNormally,
reason: 'setWebOptions must be called exactly once.',
);
expect(
fakeVideoPlayerPlatform.webOptions[controller.textureId],
expected,
reason: 'web options must be passed to the platform',
);
}, skip: !kIsWeb);
}
12 changes: 12 additions & 0 deletions packages/video_player/video_player/test/video_player_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -1311,6 +1311,8 @@ class FakeVideoPlayerPlatform extends VideoPlayerPlatform {
bool forceInitError = false;
int nextTextureId = 0;
final Map<int, Duration> _positions = <int, Duration>{};
final Map<int, VideoPlayerWebOptions> webOptions =
<int, VideoPlayerWebOptions>{};

@override
Future<int?> create(DataSource dataSource) async {
Expand Down Expand Up @@ -1392,4 +1394,14 @@ class FakeVideoPlayerPlatform extends VideoPlayerPlatform {
Widget buildView(int textureId) {
return Texture(textureId: textureId);
}

@override
Future<void> setWebOptions(
int textureId, VideoPlayerWebOptions options) async {
if (!kIsWeb) {
throw UnimplementedError('setWebOptions() is only available in the web.');
}
calls.add('setWebOptions');
webOptions[textureId] = options;
}
}