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

Commit 9af90f7

Browse files
committed
Merge remote-tracking branch 'upstream/main' into dependabot/gradle/packages/path_provider/path_provider_android/android/junit-junit-4.13.2
2 parents e773791 + 88e6cf8 commit 9af90f7

File tree

363 files changed

+9615
-1341
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

363 files changed

+9615
-1341
lines changed

.ci.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ platform_properties:
1313
properties:
1414
dependencies: >
1515
[
16-
{"dependency": "curl"}
16+
{"dependency": "curl", "version": "version:7.64.0"}
1717
]
1818
device_type: none
1919
os: Linux
2020
windows:
2121
properties:
2222
dependencies: >
2323
[
24-
{"dependency": "certs"}
24+
{"dependency": "certs", "version": "version:9563bb"}
2525
]
2626
device_type: none
2727
os: Windows
@@ -37,7 +37,7 @@ targets:
3737
version_file: flutter_master.version
3838
dependencies: >
3939
[
40-
{"dependency": "vs_build"}
40+
{"dependency": "vs_build", "version": "version:vs2019"}
4141
]
4242
4343
- name: Windows win32-platform_tests stable
@@ -49,7 +49,7 @@ targets:
4949
channel: stable
5050
dependencies: >
5151
[
52-
{"dependency": "vs_build"}
52+
{"dependency": "vs_build", "version": "version:vs2019"}
5353
]
5454
5555
- name: Windows windows-build_all_plugins master
@@ -62,7 +62,7 @@ targets:
6262
version_file: flutter_master.version
6363
dependencies: >
6464
[
65-
{"dependency": "vs_build"}
65+
{"dependency": "vs_build", "version": "version:vs2019"}
6666
]
6767
6868
- name: Windows windows-build_all_plugins stable
@@ -74,7 +74,7 @@ targets:
7474
channel: stable
7575
dependencies: >
7676
[
77-
{"dependency": "vs_build"}
77+
{"dependency": "vs_build", "version": "version:vs2019"}
7878
]
7979
8080
- name: Windows plugin_tools_tests

.ci/flutter_master.version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
52c47e96a33df14a5f43216fa88cf2165ea4d659
1+
25e0e290e6a4182e030ea9a352c6124ea36ca22d

.ci/scripts/prepare_tool.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# found in the LICENSE file.
55

66
# To set FETCH_HEAD for "git merge-base" to work
7-
git fetch origin master
7+
git fetch origin main
88

99
cd script/tool
1010
dart pub get

.cirrus.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,6 @@ task:
8686
- dart pub run test
8787
- name: publishable
8888
env:
89-
# TODO (mvanbeusekom): Temporary override to "stable" because of failure on "master".
90-
# Remove override once https://github.com/dart-lang/pub/issues/3152 is resolved.
91-
CHANNEL: stable
9289
CHANGE_DESC: "$TMPDIR/change-description.txt"
9390
version_check_script:
9491
# For pre-submit, pass the PR description to the script to allow for

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@
2121
If you need help, consider asking for advice on the #hackers-new channel on [Discord].
2222

2323
<!-- Links -->
24-
[Contributor Guide]: https://github.com/flutter/plugins/blob/master/CONTRIBUTING.md
24+
[Contributor Guide]: https://github.com/flutter/plugins/blob/main/CONTRIBUTING.md
2525
[Tree Hygiene]: https://github.com/flutter/flutter/wiki/Tree-hygiene
26-
[relevant style guides]: https://github.com/flutter/plugins/blob/master/CONTRIBUTING.md#style
26+
[relevant style guides]: https://github.com/flutter/plugins/blob/main/CONTRIBUTING.md#style
2727
[CLA]: https://cla.developers.google.com/
2828
[flutter/tests]: https://github.com/flutter/tests
2929
[breaking change policy]: https://github.com/flutter/flutter/wiki/Tree-hygiene#handling-breaking-changes
3030
[Discord]: https://github.com/flutter/flutter/wiki/Chat
3131
[pub versioning philosophy]: https://dart.dev/tools/pub/versioning
3232
[exempt from version changes]: https://github.com/flutter/flutter/wiki/Contributing-to-Plugins-and-Packages#version-and-changelog-updates
3333
[following repository CHANGELOG style]: https://github.com/flutter/flutter/wiki/Contributing-to-Plugins-and-Packages#changelog-style
34-
[the auto-formatter]: https://github.com/flutter/plugins/blob/master/script/tool/README.md#format-code
34+
[the auto-formatter]: https://github.com/flutter/plugins/blob/main/script/tool/README.md#format-code
3535
[test-exempt]: https://github.com/flutter/flutter/wiki/Tree-hygiene#tests

.github/dependabot.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -287,3 +287,11 @@ updates:
287287
schedule:
288288
interval: "daily"
289289
open-pull-requests-limit: 10
290+
291+
- package-ecosystem: "github-actions"
292+
directory: "/"
293+
commit-message:
294+
prefix: "[gh_actions]"
295+
schedule:
296+
interval: "daily"
297+
open-pull-requests-limit: 10

.github/workflows/mirror.yml

Lines changed: 0 additions & 28 deletions
This file was deleted.

.github/workflows/pull_request_label.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
pull-requests: write
2222
runs-on: ubuntu-latest
2323
steps:
24-
- uses: actions/labeler@9794b1493b6f1fa7b006c5f8635a19c76c98be95
24+
- uses: actions/labeler@9fd24f1f9d6ceb64ba34d181b329ee72f99978a0
2525
with:
2626
repo-token: "${{ secrets.GITHUB_TOKEN }}"
2727
sync-labels: true

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
cd $GITHUB_WORKSPACE
2828
# Checks out a copy of the repo.
2929
- name: Check out code
30-
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
30+
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
3131
with:
3232
fetch-depth: 0 # Fetch all history so the tool can get all the tags to determine version.
3333
- name: Set up tools
@@ -36,7 +36,7 @@ jobs:
3636

3737
# This workflow should be the last to run. So wait for all the other tests to succeed.
3838
- name: Wait on all tests
39-
uses: lewagon/wait-on-check-action@5e937358caba2c7876a2ee06e4a48d0664fe4967
39+
uses: lewagon/wait-on-check-action@752bfae19aef55dab12a00bc36d48acc46b77e9d
4040
with:
4141
ref: ${{ github.sha }}
4242
running-workflow-name: 'release'

.github/workflows/scorecards-analysis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ jobs:
2020

2121
steps:
2222
- name: "Checkout code"
23-
uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846
23+
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
2424
with:
2525
persist-credentials: false
2626

2727
- name: "Run analysis"
28-
uses: ossf/scorecard-action@c1aec4ac820532bab364f02a81873c555a0ba3a1
28+
uses: ossf/scorecard-action@3e15ea8318eee9b333819ec77a36aca8d39df13e
2929
with:
3030
results_file: results.sarif
3131
results_format: sarif
@@ -40,14 +40,14 @@ jobs:
4040

4141
# Upload the results as artifacts (optional).
4242
- name: "Upload artifact"
43-
uses: actions/upload-artifact@6673cd052c4cd6fcf4b4e6e60ea986c889389535
43+
uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8
4444
with:
4545
name: SARIF file
4646
path: results.sarif
4747
retention-days: 5
4848

4949
# Upload the results to GitHub's code scanning dashboard.
5050
- name: "Upload to code-scanning"
51-
uses: github/codeql-action/upload-sarif@f5d822707ee6e8fb81b04a5c0040b736da22e587
51+
uses: github/codeql-action/upload-sarif@27ea8f8fe5977c00f5b37e076ab846c5bd783b96
5252
with:
5353
sarif_file: results.sarif

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Contributing to Flutter Plugins
22

3-
[![Build Status](https://api.cirrus-ci.com/github/flutter/plugins.svg)](https://cirrus-ci.com/github/flutter/plugins/master)
3+
[![Build Status](https://api.cirrus-ci.com/github/flutter/plugins.svg)](https://cirrus-ci.com/github/flutter/plugins/main)
44

55
_See also: [Flutter's code of conduct](https://github.com/flutter/flutter/blob/master/CODE_OF_CONDUCT.md)_
66

@@ -35,7 +35,7 @@ use, and use auto-formatters:
3535
- [C++](https://google.github.io/styleguide/cppguide.html) formatted with `clang-format`
3636
- **Note**: The Linux plugins generally follow idiomatic GObject-based C
3737
style. See [the engine style
38-
notes](https://github.com/flutter/engine/blob/master/CONTRIBUTING.md#style)
38+
notes](https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style)
3939
for more details, and exceptions.
4040
- [Java](https://google.github.io/styleguide/javaguide.html) formatted with
4141
`google-java-format`

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Flutter plugins
22

3-
[![Build Status](https://api.cirrus-ci.com/github/flutter/plugins.svg)](https://cirrus-ci.com/github/flutter/plugins/master)
3+
[![Build Status](https://api.cirrus-ci.com/github/flutter/plugins.svg)](https://cirrus-ci.com/github/flutter/plugins/main)
44
[![Release Status](https://github.com/flutter/plugins/actions/workflows/release.yml/badge.svg)](https://github.com/flutter/plugins/actions/workflows/release.yml)
55

66
This repo is a companion repo to the main [flutter
@@ -34,7 +34,7 @@ is ready, you can [publish](https://flutter.dev/developing-packages/#publish) it
3434
to the [pub repository](https://pub.dev/).
3535

3636
If you wish to contribute a change to any of the existing plugins in this repo,
37-
please review our [contribution guide](https://github.com/flutter/plugins/blob/master/CONTRIBUTING.md),
37+
please review our [contribution guide](https://github.com/flutter/plugins/blob/main/CONTRIBUTING.md),
3838
and send a [pull request](https://github.com/flutter/plugins/pulls).
3939

4040
## Plugins

packages/camera/camera/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 0.9.8
2+
3+
* Moves Android and iOS implementations to federated packages.
4+
* Ignores unnecessary import warnings in preparation for [upcoming Flutter changes](https://github.com/flutter/flutter/pull/104231).
5+
16
## 0.9.7+1
27

38
* Moves streaming implementation to the platform interface package.

packages/camera/camera/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ For web integration details, see the
5959

6060
### Handling Lifecycle states
6161

62-
As of version [0.5.0](https://github.com/flutter/plugins/blob/master/packages/camera/CHANGELOG.md#050) of the camera plugin, lifecycle changes are no longer handled by the plugin. This means developers are now responsible to control camera resources when the lifecycle state is updated. Failure to do so might lead to unexpected behavior (for example as described in issue [#39109](https://github.com/flutter/flutter/issues/39109)). Handling lifecycle changes can be done by overriding the `didChangeAppLifecycleState` method like so:
62+
As of version [0.5.0](https://github.com/flutter/plugins/blob/main/packages/camera/CHANGELOG.md#050) of the camera plugin, lifecycle changes are no longer handled by the plugin. This means developers are now responsible to control camera resources when the lifecycle state is updated. Failure to do so might lead to unexpected behavior (for example as described in issue [#39109](https://github.com/flutter/flutter/issues/39109)). Handling lifecycle changes can be done by overriding the `didChangeAppLifecycleState` method like so:
6363

6464
<?code-excerpt "main.dart (AppLifecycle)"?>
6565
```dart

packages/camera/camera/android/settings.gradle

Lines changed: 0 additions & 1 deletion
This file was deleted.

packages/camera/camera/example/ios/Podfile

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,6 @@ flutter_ios_podfile_setup
2929

3030
target 'Runner' do
3131
flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
32-
33-
target 'RunnerTests' do
34-
platform :ios, '9.0'
35-
inherit! :search_paths
36-
# Pods for testing
37-
pod 'OCMock', '~> 3.8.1'
38-
end
3932
end
4033

4134
post_install do |installer|

0 commit comments

Comments
 (0)