[various] Clean up obsolete references to "master" (#5912)

This commit is contained in:
stuartmorgan
2022-06-06 15:23:10 -04:00
committed by GitHub
parent 62132e84f5
commit d0c23b3c27
70 changed files with 160 additions and 338 deletions

View File

@ -59,7 +59,7 @@ For web integration details, see the
### Handling Lifecycle states ### Handling Lifecycle states
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: 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:
<?code-excerpt "main.dart (AppLifecycle)"?> <?code-excerpt "main.dart (AppLifecycle)"?>
```dart ```dart

View File

@ -11,10 +11,10 @@ import 'dart:html' as html;
// ignore_for_file: camel_case_types // ignore_for_file: camel_case_types
/// Shim for web_ui engine.PlatformViewRegistry /// Shim for web_ui engine.PlatformViewRegistry
/// https://github.com/flutter/engine/blob/master/lib/web_ui/lib/ui.dart#L62 /// https://github.com/flutter/engine/blob/main/lib/web_ui/lib/ui.dart#L62
class platformViewRegistry { class platformViewRegistry {
/// Shim for registerViewFactory /// Shim for registerViewFactory
/// https://github.com/flutter/engine/blob/master/lib/web_ui/lib/ui.dart#L72 /// https://github.com/flutter/engine/blob/main/lib/web_ui/lib/ui.dart#L72
static bool registerViewFactory( static bool registerViewFactory(
String viewTypeId, html.Element Function(int viewId) viewFactory) { String viewTypeId, html.Element Function(int viewId) viewFactory) {
return false; return false;
@ -22,10 +22,10 @@ class platformViewRegistry {
} }
/// Shim for web_ui engine.AssetManager. /// Shim for web_ui engine.AssetManager.
/// https://github.com/flutter/engine/blob/master/lib/web_ui/lib/src/engine/assets.dart#L12 /// https://github.com/flutter/engine/blob/main/lib/web_ui/lib/src/engine/assets.dart#L12
class webOnlyAssetManager { class webOnlyAssetManager {
/// Shim for getAssetUrl. /// Shim for getAssetUrl.
/// https://github.com/flutter/engine/blob/master/lib/web_ui/lib/src/engine/assets.dart#L45 /// https://github.com/flutter/engine/blob/main/lib/web_ui/lib/src/engine/assets.dart#L45
static String getAssetUrl(String asset) => ''; static String getAssetUrl(String asset) => '';
} }

View File

@ -1,3 +1,7 @@
## 0.1.0+2
* Updates references to the obsolete master branch.
## 0.1.0+1 ## 0.1.0+1
* Removes unnecessary imports. * Removes unnecessary imports.

View File

@ -1,8 +1,8 @@
name: camera_windows name: camera_windows
description: A Flutter plugin for getting information about and controlling the camera on Windows. description: A Flutter plugin for getting information about and controlling the camera on Windows.
repository: https://github.com/flutter/plugins/tree/master/packages/camera/camera_windows repository: https://github.com/flutter/plugins/tree/main/packages/camera/camera_windows
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+camera%22 issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+camera%22
version: 0.1.0+1 version: 0.1.0+2
environment: environment:
sdk: ">=2.12.0 <3.0.0" sdk: ">=2.12.0 <3.0.0"

View File

@ -1,3 +1,3 @@
# e2e (deprecated) # e2e (deprecated)
This package has been moved to [integration_test](https://github.com/flutter/plugins/tree/master/packages/integration_test). This package has been moved to [`integration_test` in the Flutter SDK](https://github.com/flutter/flutter/tree/master/packages/integration_test).

View File

@ -42,7 +42,7 @@ import javax.annotation.Nullable;
* An implementation of the Espresso-Flutter testing protocol by using the testing APIs exposed by * An implementation of the Espresso-Flutter testing protocol by using the testing APIs exposed by
* Dart VM service protocol. * Dart VM service protocol.
* *
* @see <a href="https://github.com/dart-lang/sdk/blob/master/runtime/vm/service/service.md">Dart VM * @see <a href="https://github.com/dart-lang/sdk/blob/main/runtime/vm/service/service.md">Dart VM
* Service Protocol</a>. * Service Protocol</a>.
*/ */
public final class DartVmService implements FlutterTestingProtocol { public final class DartVmService implements FlutterTestingProtocol {

View File

@ -15,7 +15,7 @@ import java.util.Objects;
/** /**
* Represents a response of a <a * Represents a response of a <a
* href="https://github.com/dart-lang/sdk/blob/master/runtime/vm/service/service.md#getvm">getVM()</a> * href="https://github.com/dart-lang/sdk/blob/main/runtime/vm/service/service.md#getvm">getVM()</a>
* request. * request.
*/ */
public class GetVmResponse { public class GetVmResponse {

View File

@ -1,3 +1,7 @@
## 0.8.2+2
* Updates references to the obsolete master branch.
## 0.8.2+1 ## 0.8.2+1
* Removes unnecessary imports. * Removes unnecessary imports.

View File

@ -1,8 +1,8 @@
name: file_selector_macos name: file_selector_macos
description: macOS implementation of the file_selector plugin. description: macOS implementation of the file_selector plugin.
repository: https://github.com/flutter/plugins/tree/master/packages/file_selector/file_selector_macos repository: https://github.com/flutter/plugins/tree/main/packages/file_selector/file_selector_macos
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+file_selector%22 issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+file_selector%22
version: 0.8.2+1 version: 0.8.2+2
environment: environment:
sdk: ">=2.12.0 <3.0.0" sdk: ">=2.12.0 <3.0.0"

View File

@ -1,3 +1,7 @@
## 0.8.2+2
* Updates references to the obsolete master branch.
## 0.8.2+1 ## 0.8.2+1
* Removes unnecessary imports. * Removes unnecessary imports.

View File

@ -1,8 +1,8 @@
name: file_selector_windows name: file_selector_windows
description: Windows implementation of the file_selector plugin. description: Windows implementation of the file_selector plugin.
repository: https://github.com/flutter/plugins/tree/master/packages/file_selector/file_selector_windows repository: https://github.com/flutter/plugins/tree/main/packages/file_selector/file_selector_windows
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+file_selector%22 issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+file_selector%22
version: 0.8.2+1 version: 0.8.2+2
environment: environment:
sdk: ">=2.12.0 <3.0.0" sdk: ">=2.12.0 <3.0.0"

View File

@ -11,10 +11,10 @@ import 'dart:html' as html;
// ignore_for_file: camel_case_types // ignore_for_file: camel_case_types
/// Shim for web_ui engine.PlatformViewRegistry /// Shim for web_ui engine.PlatformViewRegistry
/// https://github.com/flutter/engine/blob/master/lib/web_ui/lib/ui.dart#L62 /// https://github.com/flutter/engine/blob/main/lib/web_ui/lib/ui.dart#L62
class platformViewRegistry { class platformViewRegistry {
/// Shim for registerViewFactory /// Shim for registerViewFactory
/// https://github.com/flutter/engine/blob/master/lib/web_ui/lib/ui.dart#L72 /// https://github.com/flutter/engine/blob/main/lib/web_ui/lib/ui.dart#L72
static bool registerViewFactory( static bool registerViewFactory(
String viewTypeId, html.Element Function(int viewId) viewFactory) { String viewTypeId, html.Element Function(int viewId) viewFactory) {
return false; return false;
@ -22,10 +22,10 @@ class platformViewRegistry {
} }
/// Shim for web_ui engine.AssetManager. /// Shim for web_ui engine.AssetManager.
/// https://github.com/flutter/engine/blob/master/lib/web_ui/lib/src/engine/assets.dart#L12 /// https://github.com/flutter/engine/blob/main/lib/web_ui/lib/src/engine/assets.dart#L12
class webOnlyAssetManager { class webOnlyAssetManager {
/// Shim for getAssetUrl. /// Shim for getAssetUrl.
/// https://github.com/flutter/engine/blob/master/lib/web_ui/lib/src/engine/assets.dart#L45 /// https://github.com/flutter/engine/blob/main/lib/web_ui/lib/src/engine/assets.dart#L45
static String getAssetUrl(String asset) => ''; static String getAssetUrl(String asset) => '';
} }

View File

@ -1,3 +1,7 @@
## 5.3.3
* Updates references to the obsolete master branch.
## 5.3.2 ## 5.3.2
* Enables mocking models by changing overridden operator == parameter type from `dynamic` to `Object`. * Enables mocking models by changing overridden operator == parameter type from `dynamic` to `Object`.

View File

@ -126,4 +126,4 @@ Future<void> _handleSignIn() async {
## Example ## Example
Find the example wiring in the Find the example wiring in the
[Google sign-in example application](https://github.com/flutter/plugins/blob/master/packages/google_sign_in/google_sign_in/example/lib/main.dart). [Google sign-in example application](https://github.com/flutter/plugins/blob/main/packages/google_sign_in/google_sign_in/example/lib/main.dart).

View File

@ -3,7 +3,7 @@ description: Flutter plugin for Google Sign-In, a secure authentication system
for signing in with a Google account on Android and iOS. for signing in with a Google account on Android and iOS.
repository: https://github.com/flutter/plugins/tree/main/packages/google_sign_in/google_sign_in repository: https://github.com/flutter/plugins/tree/main/packages/google_sign_in/google_sign_in
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+google_sign_in%22 issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+google_sign_in%22
version: 5.3.2 version: 5.3.3
environment: environment:

View File

@ -11,7 +11,7 @@ Enables Google Sign-In in Flutter apps.
s.homepage = 'https://github.com/flutter/plugins/tree/main/packages/google_sign_in' s.homepage = 'https://github.com/flutter/plugins/tree/main/packages/google_sign_in'
s.license = { :type => 'BSD', :file => '../LICENSE' } s.license = { :type => 'BSD', :file => '../LICENSE' }
s.author = { 'Flutter Team' => 'flutter-dev@googlegroups.com' } s.author = { 'Flutter Team' => 'flutter-dev@googlegroups.com' }
s.source = { :http => 'https://github.com/flutter/plugins/tree/master/packages/google_sign_in/google_sign_in_ios' } s.source = { :http => 'https://github.com/flutter/plugins/tree/main/packages/google_sign_in/google_sign_in_ios' }
s.source_files = 'Classes/**/*.{h,m}' s.source_files = 'Classes/**/*.{h,m}'
s.public_header_files = 'Classes/**/*.h' s.public_header_files = 'Classes/**/*.h'
s.module_map = 'Classes/FLTGoogleSignInPlugin.modulemap' s.module_map = 'Classes/FLTGoogleSignInPlugin.modulemap'

View File

@ -1,3 +1,7 @@
## 0.10.1+3
* Updates references to the obsolete master branch.
## 0.10.1+2 ## 0.10.1+2
* Minor fixes for new analysis options. * Minor fixes for new analysis options.

View File

@ -79,19 +79,19 @@ Future<void> _handleSignIn() async {
## Example ## Example
Find the example wiring in the [Google sign-in example application](https://github.com/flutter/plugins/blob/master/packages/google_sign_in/google_sign_in/example/lib/main.dart). Find the example wiring in the [Google sign-in example application](https://github.com/flutter/plugins/blob/main/packages/google_sign_in/google_sign_in/example/lib/main.dart).
## API details ## API details
See the [google_sign_in.dart](https://github.com/flutter/plugins/blob/master/packages/google_sign_in/google_sign_in/lib/google_sign_in.dart) for more API details. See the [google_sign_in.dart](https://github.com/flutter/plugins/blob/main/packages/google_sign_in/google_sign_in/lib/google_sign_in.dart) for more API details.
## Contributions and Testing ## Contributions and Testing
Tests are crucial for contributions to this package. All new contributions should be reasonably tested. Tests are crucial for contributions to this package. All new contributions should be reasonably tested.
**Check the [`test/README.md` file](https://github.com/flutter/plugins/blob/master/packages/google_sign_in/google_sign_in_web/test/README.md)** for more information on how to run tests on this package. **Check the [`test/README.md` file](https://github.com/flutter/plugins/blob/main/packages/google_sign_in/google_sign_in_web/test/README.md)** for more information on how to run tests on this package.
Contributions to this package are welcome. Read the [Contributing to Flutter Plugins](https://github.com/flutter/plugins/blob/master/CONTRIBUTING.md) guide to get started. Contributions to this package are welcome. Read the [Contributing to Flutter Plugins](https://github.com/flutter/plugins/blob/main/CONTRIBUTING.md) guide to get started.
## Issues and feedback ## Issues and feedback

View File

@ -3,7 +3,7 @@ description: Flutter plugin for Google Sign-In, a secure authentication system
for signing in with a Google account on Android, iOS and Web. for signing in with a Google account on Android, iOS and Web.
repository: https://github.com/flutter/plugins/tree/main/packages/google_sign_in/google_sign_in_web repository: https://github.com/flutter/plugins/tree/main/packages/google_sign_in/google_sign_in_web
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+google_sign_in%22 issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+google_sign_in%22
version: 0.10.1+2 version: 0.10.1+3
environment: environment:
sdk: ">=2.12.0 <3.0.0" sdk: ">=2.12.0 <3.0.0"

View File

@ -1,3 +1,7 @@
## 3.0.5
* Updates references to the obsolete master branch.
## 3.0.4 ## 3.0.4
* Minor fixes for new analysis options. * Minor fixes for new analysis options.

View File

@ -10,10 +10,10 @@ which can be the App Store (on iOS) or Google Play (on Android).
| **Support** | SDK 16+ | 9.0+ | | **Support** | SDK 16+ | 9.0+ |
<p> <p>
<img src="https://github.com/flutter/plugins/blob/master/packages/in_app_purchase/in_app_purchase/doc/iap_ios.gif?raw=true" <img src="https://github.com/flutter/plugins/blob/main/packages/in_app_purchase/in_app_purchase/doc/iap_ios.gif?raw=true"
alt="An animated image of the iOS in-app purchase UI" height="400"/> alt="An animated image of the iOS in-app purchase UI" height="400"/>
&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
<img src="https://github.com/flutter/plugins/blob/master/packages/in_app_purchase/in_app_purchase/doc/iap_android.gif?raw=true" <img src="https://github.com/flutter/plugins/blob/main/packages/in_app_purchase/in_app_purchase/doc/iap_android.gif?raw=true"
alt="An animated image of the Android in-app purchase UI" height="400"/> alt="An animated image of the Android in-app purchase UI" height="400"/>
</p> </p>
@ -41,7 +41,7 @@ your app with each store. Both stores have extensive guides:
> to a particular store. > to a particular store.
For a list of steps for configuring in-app purchases in both stores, see the For a list of steps for configuring in-app purchases in both stores, see the
[example app README](https://github.com/flutter/plugins/blob/master/packages/in_app_purchase/in_app_purchase/example/README.md). [example app README](https://github.com/flutter/plugins/blob/main/packages/in_app_purchase/in_app_purchase/example/README.md).
Once you've configured your in-app purchases in their respective stores, you Once you've configured your in-app purchases in their respective stores, you
can start using the plugin. Two basic options are available: can start using the plugin. Two basic options are available:
@ -426,4 +426,4 @@ iosPlatformAddition.presentCodeRedemptionSheet();
## Contributing to this plugin ## Contributing to this plugin
If you would like to contribute to the plugin, check out our If you would like to contribute to the plugin, check out our
[contribution guide](https://github.com/flutter/plugins/blob/master/CONTRIBUTING.md). [contribution guide](https://github.com/flutter/plugins/blob/main/CONTRIBUTING.md).

View File

@ -2,7 +2,7 @@ name: in_app_purchase
description: A Flutter plugin for in-app purchases. Exposes APIs for making in-app purchases through the App Store and Google Play. description: A Flutter plugin for in-app purchases. Exposes APIs for making in-app purchases through the App Store and Google Play.
repository: https://github.com/flutter/plugins/tree/main/packages/in_app_purchase/in_app_purchase repository: https://github.com/flutter/plugins/tree/main/packages/in_app_purchase/in_app_purchase
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+in_app_purchase%22 issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+in_app_purchase%22
version: 3.0.4 version: 3.0.5
environment: environment:
sdk: ">=2.12.0 <3.0.0" sdk: ">=2.12.0 <3.0.0"

View File

@ -1,3 +1,7 @@
## 0.2.2+7
* Updates references to the obsolete master branch.
## 0.2.2+6 ## 0.2.2+6
* Enables mocking models by changing overridden operator == parameter type from `dynamic` to `Object`. * Enables mocking models by changing overridden operator == parameter type from `dynamic` to `Object`.

View File

@ -21,7 +21,7 @@ editing any of the serialized data structs, rebuild the serializers by running
watch the filesystem for changes. watch the filesystem for changes.
If you would like to contribute to the plugin, check out our If you would like to contribute to the plugin, check out our
[contribution guide](https://github.com/flutter/plugins/blob/master/CONTRIBUTING.md). [contribution guide](https://github.com/flutter/plugins/blob/main/CONTRIBUTING.md).
[1]: https://pub.dev/packages/in_app_purchase [1]: https://pub.dev/packages/in_app_purchase

View File

@ -42,7 +42,7 @@ class MethodCallHandlerImpl
private static final String TAG = "InAppPurchasePlugin"; private static final String TAG = "InAppPurchasePlugin";
private static final String LOAD_SKU_DOC_URL = private static final String LOAD_SKU_DOC_URL =
"https://github.com/flutter/plugins/blob/master/packages/in_app_purchase/in_app_purchase/README.md#loading-products-for-sale"; "https://github.com/flutter/plugins/blob/main/packages/in_app_purchase/in_app_purchase/README.md#loading-products-for-sale";
@Nullable private BillingClient billingClient; @Nullable private BillingClient billingClient;
private final BillingClientFactory billingClientFactory; private final BillingClientFactory billingClientFactory;

View File

@ -2,7 +2,7 @@ name: in_app_purchase_android
description: An implementation for the Android platform of the Flutter `in_app_purchase` plugin. This uses the Android BillingClient APIs. description: An implementation for the Android platform of the Flutter `in_app_purchase` plugin. This uses the Android BillingClient APIs.
repository: https://github.com/flutter/plugins/tree/main/packages/in_app_purchase/in_app_purchase_android repository: https://github.com/flutter/plugins/tree/main/packages/in_app_purchase/in_app_purchase_android
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+in_app_purchase%22 issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+in_app_purchase%22
version: 0.2.2+6 version: 0.2.2+7
environment: environment:
sdk: ">=2.14.0 <3.0.0" sdk: ">=2.14.0 <3.0.0"

View File

@ -1,3 +1,7 @@
## 0.3.0+9
* Updates references to the obsolete master branch.
## 0.3.0+8 ## 0.3.0+8
* Fixes a memory leak on iOS. * Fixes a memory leak on iOS.

View File

@ -21,7 +21,7 @@ editing any of the serialized data structs, rebuild the serializers by running
watch the filesystem for changes. watch the filesystem for changes.
If you would like to contribute to the plugin, check out our If you would like to contribute to the plugin, check out our
[contribution guide](https://github.com/flutter/plugins/blob/master/CONTRIBUTING.md). [contribution guide](https://github.com/flutter/plugins/blob/main/CONTRIBUTING.md).
[1]: ../in_app_purchase [1]: ../in_app_purchase

View File

@ -2,7 +2,7 @@ name: in_app_purchase_storekit
description: An implementation for the iOS platform of the Flutter `in_app_purchase` plugin. This uses the StoreKit Framework. description: An implementation for the iOS platform of the Flutter `in_app_purchase` plugin. This uses the StoreKit Framework.
repository: https://github.com/flutter/plugins/tree/main/packages/in_app_purchase/in_app_purchase_storekit repository: https://github.com/flutter/plugins/tree/main/packages/in_app_purchase/in_app_purchase_storekit
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+in_app_purchase%22 issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+in_app_purchase%22
version: 0.3.0+8 version: 0.3.0+9
environment: environment:
sdk: ">=2.14.0 <3.0.0" sdk: ">=2.14.0 <3.0.0"

View File

@ -16,256 +16,3 @@ dev_dependencies:
For the latest documentation, see [Integration For the latest documentation, see [Integration
testing](https://flutter.dev/docs/testing/integration-tests). testing](https://flutter.dev/docs/testing/integration-tests).
## Old instructions
This package enables self-driving testing of Flutter code on devices and emulators.
It adapts flutter_test results into a format that is compatible with `flutter drive`
and native Android instrumentation testing.
## Usage
Add a dependency on the `integration_test` and `flutter_test` package in the
`dev_dependencies` section of `pubspec.yaml`. For plugins, do this in the
`pubspec.yaml` of the example app.
Create a `integration_test/` directory for your package. In this directory,
create a `<name>_test.dart`, using the following as a starting point to make
assertions.
Note: You should only use `testWidgets` to declare your tests, or errors will not be reported correctly.
```dart
import 'package:flutter_test/flutter_test.dart';
import 'package:integration_test/integration_test.dart';
void main() {
IntegrationTestWidgetsFlutterBinding.ensureInitialized();
testWidgets("failing test example", (WidgetTester tester) async {
expect(2 + 2, equals(5));
});
}
```
### Driver Entrypoint
An accompanying driver script will be needed that can be shared across all
integration tests. Create a file named `integration_test.dart` in the
`test_driver/` directory with the following contents:
```dart
import 'package:integration_test/integration_test_driver.dart';
Future<void> main() => integrationDriver();
```
You can also use different driver scripts to customize the behavior of the app
under test. For example, `FlutterDriver` can also be parameterized with
different [options](https://api.flutter.dev/flutter/flutter_driver/FlutterDriver/connect.html).
See the [extended driver](https://github.com/flutter/flutter/blob/master/packages/integration_test/example/test_driver/extended_integration_test.dart) for an example.
### Package Structure
Your package should have a structure that looks like this:
```
lib/
...
integration_test/
foo_test.dart
bar_test.dart
test/
# Other unit tests go here.
test_driver/
integration_test.dart
```
[Example](https://github.com/flutter/plugins/tree/master/packages/integration_test/example)
## Using Flutter Driver to Run Tests
These tests can be launched with the `flutter drive` command.
To run the `integration_test/foo_test.dart` test with the
`test_driver/integration_test.dart` driver, use the following command:
```sh
flutter drive \
--driver=test_driver/integration_test.dart \
--target=integration_test/foo_test.dart
```
### Web
Make sure you have [enabled web support](https://flutter.dev/docs/get-started/web#set-up)
then [download and run](https://flutter.dev/docs/cookbook/testing/integration/introduction#6b-web)
the web driver in another process.
Use following command to execute the tests:
```sh
flutter drive \
--driver=test_driver/integration_test.dart \
--target=integration_test/foo_test.dart \
-d web-server
```
## Android Device Testing
Create an instrumentation test file in your application's
**android/app/src/androidTest/java/com/example/myapp/** directory (replacing
com, example, and myapp with values from your app's package name). You can name
this test file `MainActivityTest.java` or another name of your choice.
```java
package com.example.myapp;
import androidx.test.rule.ActivityTestRule;
import dev.flutter.plugins.integration_test.FlutterTestRunner;
import org.junit.Rule;
import org.junit.runner.RunWith;
@RunWith(FlutterTestRunner.class)
public class MainActivityTest {
@Rule
public ActivityTestRule<MainActivity> rule = new ActivityTestRule<>(MainActivity.class, true, false);
}
```
Update your application's **myapp/android/app/build.gradle** to make sure it
uses androidx's version of `AndroidJUnitRunner` and has androidx libraries as a
dependency.
```gradle
android {
...
defaultConfig {
...
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
}
dependencies {
testImplementation 'junit:junit:4.12'
// https://developer.android.com/jetpack/androidx/releases/test/#1.2.0
androidTestImplementation 'androidx.test:runner:1.2.0'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
}
```
To run `integration_test/foo_test.dart` on a local Android device (emulated or
physical):
```sh
./gradlew app:connectedAndroidTest -Ptarget=`pwd`/../integration_test/foo_test.dart
```
## Firebase Test Lab
If this is your first time testing with Firebase Test Lab, you'll need to follow
the guides in the [Firebase test lab
documentation](https://firebase.google.com/docs/test-lab/?gclid=EAIaIQobChMIs5qVwqW25QIV8iCtBh3DrwyUEAAYASAAEgLFU_D_BwE)
to set up a project.
To run a test on Android devices using Firebase Test Lab, use gradle commands to build an
instrumentation test for Android, after creating `androidTest` as suggested in the last section.
```bash
pushd android
# flutter build generates files in android/ for building the app
flutter build apk
./gradlew app:assembleAndroidTest
./gradlew app:assembleDebug -Ptarget=<path_to_test>.dart
popd
```
Upload the build apks Firebase Test Lab, making sure to replace <PATH_TO_KEY_FILE>,
<PROJECT_NAME>, <RESULTS_BUCKET>, and <RESULTS_DIRECTORY> with your values.
```bash
gcloud auth activate-service-account --key-file=<PATH_TO_KEY_FILE>
gcloud --quiet config set project <PROJECT_NAME>
gcloud firebase test android run --type instrumentation \
--app build/app/outputs/apk/debug/app-debug.apk \
--test build/app/outputs/apk/androidTest/debug/app-debug-androidTest.apk\
--timeout 2m \
--results-bucket=<RESULTS_BUCKET> \
--results-dir=<RESULTS_DIRECTORY>
```
You can pass additional parameters on the command line, such as the
devices you want to test on. See
[gcloud firebase test android run](https://cloud.google.com/sdk/gcloud/reference/firebase/test/android/run).
## iOS Device Testing
Open `ios/Runner.xcworkspace` in Xcode. Create a test target if you
do not already have one via `File > New > Target...` and select `Unit Testing Bundle`.
Change the `Product Name` to `RunnerTests`. Make sure `Target to be Tested` is set to `Runner` and language is set to `Objective-C`.
Select `Finish`.
Make sure that the **iOS Deployment Target** of `RunnerTests` within the **Build Settings** section is the same as `Runner`.
Add the new test target to `ios/Podfile` by embedding in the existing `Runner` target.
```ruby
target 'Runner' do
# Do not change existing lines.
...
target 'RunnerTests' do
inherit! :search_paths
end
end
```
To build `integration_test/foo_test.dart` from the command line, run:
```sh
flutter build ios --config-only integration_test/foo_test.dart
```
In Xcode, add a test file called `RunnerTests.m` (or any name of your choice) to the new target and
replace the file:
```objective-c
@import XCTest;
@import integration_test;
INTEGRATION_TEST_IOS_RUNNER(RunnerTests)
```
Run `Product > Test` to run the integration tests on your selected device.
To deploy it to Firebase Test Lab you can follow these steps:
Execute this script at the root of your Flutter app:
```sh
output="../build/ios_integ"
product="build/ios_integ/Build/Products"
dev_target="14.3"
# Pass --simulator if building for the simulator.
flutter build ios integration_test/foo_test.dart --release
pushd ios
xcodebuild -workspace Runner.xcworkspace -scheme Runner -config Flutter/Release.xcconfig -derivedDataPath $output -sdk iphoneos build-for-testing
popd
pushd $product
zip -r "ios_tests.zip" "Release-iphoneos" "Runner_iphoneos$dev_target-arm64.xctestrun"
popd
```
You can verify locally that your tests are successful by running the following command:
```sh
xcodebuild test-without-building -xctestrun "build/ios_integ/Build/Products/Runner_iphoneos14.3-arm64.xctestrun" -destination id=<YOUR_DEVICE_ID>
```
Once everything is ok, you can upload the resulting zip to Firebase Test Lab (change the model with your values):
```sh
gcloud firebase test ios run --test "build/ios_integ/ios_tests.zip" --device model=iphone11pro,version=14.1,locale=fr_FR,orientation=portrait
```

View File

@ -1,3 +1,7 @@
## 1.0.5
* Updates references to the obsolete master branch.
## 1.0.4 ## 1.0.4
* Minor fixes for new analysis options. * Minor fixes for new analysis options.

View File

@ -1,8 +1,8 @@
name: local_auth_android name: local_auth_android
description: Android implementation of the local_auth plugin. description: Android implementation of the local_auth plugin.
repository: https://github.com/flutter/plugins/tree/master/packages/local_auth/local_auth_android repository: https://github.com/flutter/plugins/tree/main/packages/local_auth/local_auth_android
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+local_auth%22 issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+local_auth%22
version: 1.0.4 version: 1.0.5
environment: environment:
sdk: ">=2.14.0 <3.0.0" sdk: ">=2.14.0 <3.0.0"

View File

@ -1,3 +1,7 @@
## 1.0.7
* Updates references to the obsolete master branch.
## 1.0.6 ## 1.0.6
* Suppresses warnings for pre-iOS-11 codepaths. * Suppresses warnings for pre-iOS-11 codepaths.

View File

@ -1,8 +1,8 @@
name: local_auth_ios name: local_auth_ios
description: iOS implementation of the local_auth plugin. description: iOS implementation of the local_auth plugin.
repository: https://github.com/flutter/plugins/tree/master/packages/local_auth/local_auth_ios repository: https://github.com/flutter/plugins/tree/main/packages/local_auth/local_auth_ios
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+local_auth%22 issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+local_auth%22
version: 1.0.6 version: 1.0.7
environment: environment:
sdk: ">=2.14.0 <3.0.0" sdk: ">=2.14.0 <3.0.0"

View File

@ -1,5 +1,6 @@
## NEXT ## 1.0.4
* Updates references to the obsolete master branch.
* Removes unnecessary imports. * Removes unnecessary imports.
## 1.0.3 ## 1.0.3

View File

@ -1,10 +1,10 @@
name: local_auth_platform_interface name: local_auth_platform_interface
description: A common platform interface for the local_auth plugin. description: A common platform interface for the local_auth plugin.
repository: https://github.com/flutter/plugins/tree/master/packages/local_auth/local_auth_platform_interface repository: https://github.com/flutter/plugins/tree/main/packages/local_auth/local_auth_platform_interface
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+local_auth%22 issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+local_auth%22
# NOTE: We strongly prefer non-breaking changes, even at the expense of a # NOTE: We strongly prefer non-breaking changes, even at the expense of a
# less-clean API. See https://flutter.dev/go/platform-interface-breaking-changes # less-clean API. See https://flutter.dev/go/platform-interface-breaking-changes
version: 1.0.3 version: 1.0.4
environment: environment:
sdk: ">=2.14.0 <3.0.0" sdk: ">=2.14.0 <3.0.0"

View File

@ -1,3 +1,7 @@
## 1.0.1
* Updates references to the obsolete master branch.
## 1.0.0 ## 1.0.0
* Initial release of Windows support. * Initial release of Windows support.

View File

@ -1,8 +1,8 @@
name: local_auth_windows name: local_auth_windows
description: Windows implementation of the local_auth plugin. description: Windows implementation of the local_auth plugin.
repository: https://github.com/flutter/plugins/tree/master/packages/local_auth/local_auth_windows repository: https://github.com/flutter/plugins/tree/main/packages/local_auth/local_auth_windows
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+local_auth%22 issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+local_auth%22
version: 1.0.0 version: 1.0.1
environment: environment:
sdk: ">=2.14.0 <3.0.0" sdk: ">=2.14.0 <3.0.0"
@ -23,4 +23,4 @@ dependencies:
dev_dependencies: dev_dependencies:
flutter_test: flutter_test:
sdk: flutter sdk: flutter

View File

@ -1,5 +1,6 @@
## NEXT ## 2.0.11
* Updates references to the obsolete master branch.
* Fixes integration test permission issue on recent versions of macOS. * Fixes integration test permission issue on recent versions of macOS.
## 2.0.10 ## 2.0.10

View File

@ -43,4 +43,4 @@ Directories support by platform:
`path_provider` now uses a `PlatformInterface`, meaning that not all platforms share a single `PlatformChannel`-based implementation. `path_provider` now uses a `PlatformInterface`, meaning that not all platforms share a single `PlatformChannel`-based implementation.
With that change, tests should be updated to mock `PathProviderPlatform` rather than `PlatformChannel`. With that change, tests should be updated to mock `PathProviderPlatform` rather than `PlatformChannel`.
See this `path_provider` [test](https://github.com/flutter/plugins/blob/master/packages/path_provider/path_provider/test/path_provider_test.dart) for an example. See this `path_provider` [test](https://github.com/flutter/plugins/blob/main/packages/path_provider/path_provider/test/path_provider_test.dart) for an example.

View File

@ -2,7 +2,7 @@ name: path_provider
description: Flutter plugin for getting commonly used locations on host platform file systems, such as the temp and app data directories. description: Flutter plugin for getting commonly used locations on host platform file systems, such as the temp and app data directories.
repository: https://github.com/flutter/plugins/tree/main/packages/path_provider/path_provider repository: https://github.com/flutter/plugins/tree/main/packages/path_provider/path_provider
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+path_provider%22 issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+path_provider%22
version: 2.0.10 version: 2.0.11
environment: environment:
sdk: ">=2.14.0 <3.0.0" sdk: ">=2.14.0 <3.0.0"

View File

@ -11,7 +11,7 @@ Pod::Spec.new do |s|
s.homepage = 'https://github.com/flutter/plugins/tree/main/packages/path_provider/path_provider_macos' s.homepage = 'https://github.com/flutter/plugins/tree/main/packages/path_provider/path_provider_macos'
s.license = { :type => 'BSD', :file => '../LICENSE' } s.license = { :type => 'BSD', :file => '../LICENSE' }
s.author = { 'Flutter Dev Team' => 'flutter-dev@googlegroups.com' } s.author = { 'Flutter Dev Team' => 'flutter-dev@googlegroups.com' }
s.source = { :http => 'https://github.com/flutter/plugins/tree/master/packages/path_provider/path_provider_macos' } s.source = { :http => 'https://github.com/flutter/plugins/tree/main/packages/path_provider/path_provider_macos' }
s.source_files = 'Classes/**/*' s.source_files = 'Classes/**/*'
s.dependency 'FlutterMacOS' s.dependency 'FlutterMacOS'

View File

@ -1,3 +1,7 @@
## 0.6.0+11
* Updates references to the obsolete master branch.
## 0.6.0+10 ## 0.6.0+10
* Fixes library_private_types_in_public_api, sort_child_properties_last and use_key_in_widget_constructors * Fixes library_private_types_in_public_api, sort_child_properties_last and use_key_in_widget_constructors
@ -5,4 +9,4 @@
## 0.6.0+9 ## 0.6.0+9
* Switches to a package-internal implementation of the platform interface. * Switches to a package-internal implementation of the platform interface.

View File

@ -13,5 +13,5 @@ If you would like to contribute to the plugin, check out our [contribution guide
[1]: https://pub.dev/packages/quick_actions [1]: https://pub.dev/packages/quick_actions
[2]: https://flutter.dev/docs/development/packages-and-plugins/developing-packages#endorsed-federated-plugin [2]: https://flutter.dev/docs/development/packages-and-plugins/developing-packages#endorsed-federated-plugin
[3]: https://github.com/flutter/plugins/blob/master/CONTRIBUTING.md [3]: https://github.com/flutter/plugins/blob/main/CONTRIBUTING.md

View File

@ -2,7 +2,7 @@ name: quick_actions_android
description: An implementation for the Android platform of the Flutter `quick_actions` plugin. description: An implementation for the Android platform of the Flutter `quick_actions` plugin.
repository: https://github.com/flutter/plugins/tree/main/packages/quick_actions/quick_actions_android repository: https://github.com/flutter/plugins/tree/main/packages/quick_actions/quick_actions_android
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+in_app_purchase%22 issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+in_app_purchase%22
version: 0.6.0+10 version: 0.6.0+11
environment: environment:
sdk: ">=2.15.0 <3.0.0" sdk: ">=2.15.0 <3.0.0"

View File

@ -1,3 +1,7 @@
## 0.6.0+11
* Updates references to the obsolete master branch.
## 0.6.0+10 ## 0.6.0+10
* Fixes library_private_types_in_public_api, sort_child_properties_last and use_key_in_widget_constructors * Fixes library_private_types_in_public_api, sort_child_properties_last and use_key_in_widget_constructors
@ -5,4 +9,4 @@
## 0.6.0+9 ## 0.6.0+9
* Switches to a package-internal implementation of the platform interface. * Switches to a package-internal implementation of the platform interface.

View File

@ -13,4 +13,4 @@ If you would like to contribute to the plugin, check out our [contribution guide
[1]: https://pub.dev/packages/quick_actions [1]: https://pub.dev/packages/quick_actions
[2]: https://flutter.dev/docs/development/packages-and-plugins/developing-packages#endorsed-federated-plugin [2]: https://flutter.dev/docs/development/packages-and-plugins/developing-packages#endorsed-federated-plugin
[3]: https://github.com/flutter/plugins/blob/master/CONTRIBUTING.md [3]: https://github.com/flutter/plugins/blob/main/CONTRIBUTING.md

View File

@ -2,7 +2,7 @@ name: quick_actions_ios
description: An implementation for the iOS platform of the Flutter `quick_actions` plugin. description: An implementation for the iOS platform of the Flutter `quick_actions` plugin.
repository: https://github.com/flutter/plugins/tree/main/packages/quick_actions/quick_actions_ios repository: https://github.com/flutter/plugins/tree/main/packages/quick_actions/quick_actions_ios
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+in_app_purchase%22 issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+in_app_purchase%22
version: 0.6.0+10 version: 0.6.0+11
environment: environment:
sdk: ">=2.15.0 <3.0.0" sdk: ">=2.15.0 <3.0.0"

View File

@ -11,7 +11,7 @@ Wraps NSUserDefaults, providing a persistent store for simple key-value pairs.
s.homepage = 'https://github.com/flutter/plugins/tree/main/packages/shared_preferences/shared_preferences_macos' s.homepage = 'https://github.com/flutter/plugins/tree/main/packages/shared_preferences/shared_preferences_macos'
s.license = { :type => 'BSD', :file => '../LICENSE' } s.license = { :type => 'BSD', :file => '../LICENSE' }
s.author = { 'Flutter Team' => 'flutter-dev@googlegroups.com' } s.author = { 'Flutter Team' => 'flutter-dev@googlegroups.com' }
s.source = { :http => 'https://github.com/flutter/plugins/tree/master/packages/shared_preferences/shared_preferences_macos' } s.source = { :http => 'https://github.com/flutter/plugins/tree/main/packages/shared_preferences/shared_preferences_macos' }
s.source_files = 'Classes/**/*' s.source_files = 'Classes/**/*'
s.dependency 'FlutterMacOS' s.dependency 'FlutterMacOS'

View File

@ -11,7 +11,7 @@ A Flutter plugin for making the underlying platform (Android or iOS) launch a UR
s.homepage = 'https://github.com/flutter/plugins/tree/main/packages/url_launcher' s.homepage = 'https://github.com/flutter/plugins/tree/main/packages/url_launcher'
s.license = { :type => 'BSD', :file => '../LICENSE' } s.license = { :type => 'BSD', :file => '../LICENSE' }
s.author = { 'Flutter Dev Team' => 'flutter-dev@googlegroups.com' } s.author = { 'Flutter Dev Team' => 'flutter-dev@googlegroups.com' }
s.source = { :http => 'https://github.com/flutter/plugins/tree/master/packages/url_launcher/url_launcher_ios' } s.source = { :http => 'https://github.com/flutter/plugins/tree/main/packages/url_launcher/url_launcher_ios' }
s.documentation_url = 'https://pub.dev/packages/url_launcher' s.documentation_url = 'https://pub.dev/packages/url_launcher'
s.source_files = 'Classes/**/*' s.source_files = 'Classes/**/*'
s.public_header_files = 'Classes/**/*.h' s.public_header_files = 'Classes/**/*.h'

View File

@ -11,7 +11,7 @@ Pod::Spec.new do |s|
s.homepage = 'https://github.com/flutter/plugins/tree/main/packages/url_launcher/url_launcher_macos' s.homepage = 'https://github.com/flutter/plugins/tree/main/packages/url_launcher/url_launcher_macos'
s.license = { :type => 'BSD', :file => '../LICENSE' } s.license = { :type => 'BSD', :file => '../LICENSE' }
s.author = { 'Flutter Team' => 'flutter-dev@googlegroups.com' } s.author = { 'Flutter Team' => 'flutter-dev@googlegroups.com' }
s.source = { :http => 'https://github.com/flutter/plugins/tree/master/packages/url_launcher/url_launcher_macos' } s.source = { :http => 'https://github.com/flutter/plugins/tree/main/packages/url_launcher/url_launcher_macos' }
s.source_files = 'Classes/**/*' s.source_files = 'Classes/**/*'
s.dependency 'FlutterMacOS' s.dependency 'FlutterMacOS'

View File

@ -11,10 +11,10 @@ import 'dart:html' as html;
// ignore_for_file: camel_case_types // ignore_for_file: camel_case_types
/// Shim for web_ui engine.PlatformViewRegistry /// Shim for web_ui engine.PlatformViewRegistry
/// https://github.com/flutter/engine/blob/master/lib/web_ui/lib/ui.dart#L62 /// https://github.com/flutter/engine/blob/main/lib/web_ui/lib/ui.dart#L62
class platformViewRegistry { class platformViewRegistry {
/// Shim for registerViewFactory /// Shim for registerViewFactory
/// https://github.com/flutter/engine/blob/master/lib/web_ui/lib/ui.dart#L72 /// https://github.com/flutter/engine/blob/main/lib/web_ui/lib/ui.dart#L72
static bool registerViewFactory( static bool registerViewFactory(
String viewTypeId, html.Element Function(int viewId) viewFactory, String viewTypeId, html.Element Function(int viewId) viewFactory,
{bool isVisible = true}) { {bool isVisible = true}) {
@ -23,10 +23,10 @@ class platformViewRegistry {
} }
/// Shim for web_ui engine.AssetManager. /// Shim for web_ui engine.AssetManager.
/// https://github.com/flutter/engine/blob/master/lib/web_ui/lib/src/engine/assets.dart#L12 /// https://github.com/flutter/engine/blob/main/lib/web_ui/lib/src/engine/assets.dart#L12
class webOnlyAssetManager { class webOnlyAssetManager {
/// Shim for getAssetUrl. /// Shim for getAssetUrl.
/// https://github.com/flutter/engine/blob/master/lib/web_ui/lib/src/engine/assets.dart#L45 /// https://github.com/flutter/engine/blob/main/lib/web_ui/lib/src/engine/assets.dart#L45
static String getAssetUrl(String asset) => ''; static String getAssetUrl(String asset) => '';
} }

View File

@ -1,3 +1,7 @@
## 2.4.4
* Updates references to the obsolete master branch.
## 2.4.3 ## 2.4.3
* Fixes Android to correctly display videos recorded in landscapeRight (https://github.com/flutter/flutter/issues/60327). * Fixes Android to correctly display videos recorded in landscapeRight (https://github.com/flutter/flutter/issues/60327).

View File

@ -8,7 +8,7 @@ A Flutter plugin for iOS, Android and Web for playing back video on a Widget sur
|-------------|---------|------|-------| |-------------|---------|------|-------|
| **Support** | SDK 16+ | 9.0+ | Any\* | | **Support** | SDK 16+ | 9.0+ | Any\* |
![The example app running in iOS](https://github.com/flutter/plugins/blob/master/packages/video_player/video_player/doc/demo_ipod.gif?raw=true) ![The example app running in iOS](https://github.com/flutter/plugins/blob/main/packages/video_player/video_player/doc/demo_ipod.gif?raw=true)
## Installation ## Installation

View File

@ -3,7 +3,7 @@ description: Flutter plugin for displaying inline video with other Flutter
widgets on Android, iOS, and web. widgets on Android, iOS, and web.
repository: https://github.com/flutter/plugins/tree/main/packages/video_player/video_player repository: https://github.com/flutter/plugins/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 issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+video_player%22
version: 2.4.3 version: 2.4.4
environment: environment:
sdk: ">=2.14.0 <3.0.0" sdk: ">=2.14.0 <3.0.0"

View File

@ -1,3 +1,7 @@
## 2.3.6
* Updates references to the obsolete master branch.
## 2.3.5 ## 2.3.5
* Sets rotationCorrection for videos recorded in landscapeRight (https://github.com/flutter/flutter/issues/60327). * Sets rotationCorrection for videos recorded in landscapeRight (https://github.com/flutter/flutter/issues/60327).

View File

@ -25,7 +25,7 @@ Then, run the commands above. When you run `pub get` it should warn
you that you're using an override. If you do this, you will need to you that you're using an override. If you do this, you will need to
publish pigeon before you can land the updates to this package, since publish pigeon before you can land the updates to this package, since
the CI tests run the analysis using latest published version of the CI tests run the analysis using latest published version of
pigeon, not your version or the version on master. pigeon, not your version or the version on `main`.
In either case, the configuration will be obtained automatically from the In either case, the configuration will be obtained automatically from the
`pigeons/messages.dart` file (see `ConfigurePigeon` at the top of that file). `pigeons/messages.dart` file (see `ConfigurePigeon` at the top of that file).

View File

@ -1,8 +1,8 @@
name: video_player_android name: video_player_android
description: Android implementation of the video_player plugin. description: Android implementation of the video_player plugin.
repository: https://github.com/flutter/plugins/tree/master/packages/video_player/video_player_android repository: https://github.com/flutter/plugins/tree/main/packages/video_player/video_player_android
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+video_player%22 issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+video_player%22
version: 2.3.5 version: 2.3.6
environment: environment:
sdk: ">=2.14.0 <3.0.0" sdk: ">=2.14.0 <3.0.0"

View File

@ -1,3 +1,7 @@
## 2.3.5
* Updates references to the obsolete master branch.
## 2.3.4 ## 2.3.4
* Removes unnecessary imports. * Removes unnecessary imports.

View File

@ -25,7 +25,7 @@ Then, run the commands above. When you run `pub get` it should warn
you that you're using an override. If you do this, you will need to you that you're using an override. If you do this, you will need to
publish pigeon before you can land the updates to this package, since publish pigeon before you can land the updates to this package, since
the CI tests run the analysis using latest published version of the CI tests run the analysis using latest published version of
pigeon, not your version or the version on master. pigeon, not your version or the version on `main`.
In either case, the configuration will be obtained automatically from the In either case, the configuration will be obtained automatically from the
`pigeons/messages.dart` file (see `ConfigurePigeon` at the top of that file). `pigeons/messages.dart` file (see `ConfigurePigeon` at the top of that file).

View File

@ -1,8 +1,8 @@
name: video_player_avfoundation name: video_player_avfoundation
description: iOS implementation of the video_player plugin. description: iOS implementation of the video_player plugin.
repository: https://github.com/flutter/plugins/tree/master/packages/video_player/video_player_avfoundation repository: https://github.com/flutter/plugins/tree/main/packages/video_player/video_player_avfoundation
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+video_player%22 issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+video_player%22
version: 2.3.4 version: 2.3.5
environment: environment:
sdk: ">=2.14.0 <3.0.0" sdk: ">=2.14.0 <3.0.0"

View File

@ -1,5 +1,6 @@
## NEXT ## 5.1.3
* Updates references to the obsolete master branch.
* Removes unnecessary imports. * Removes unnecessary imports.
## 5.1.2 ## 5.1.2

View File

@ -39,7 +39,7 @@ Then, run the commands above. When you run `pub get` it should warn
you that you're using an override. If you do this, you will need to you that you're using an override. If you do this, you will need to
publish pigeon before you can land the updates to this package, since publish pigeon before you can land the updates to this package, since
the CI tests run the analysis using latest published version of the CI tests run the analysis using latest published version of
pigeon, not your version or the version on master. pigeon, not your version or the version on `main`.
In either case, the configuration will be obtained automatically from In either case, the configuration will be obtained automatically from
the `pigeons/messages.dart` file (see `configurePigeon` at the bottom the `pigeons/messages.dart` file (see `configurePigeon` at the bottom

View File

@ -4,7 +4,7 @@ repository: https://github.com/flutter/plugins/tree/main/packages/video_player/v
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+video_player%22 issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+video_player%22
# NOTE: We strongly prefer non-breaking changes, even at the expense of a # NOTE: We strongly prefer non-breaking changes, even at the expense of a
# less-clean API. See https://flutter.dev/go/platform-interface-breaking-changes # less-clean API. See https://flutter.dev/go/platform-interface-breaking-changes
version: 5.1.2 version: 5.1.3
environment: environment:
sdk: ">=2.12.0 <3.0.0" sdk: ">=2.12.0 <3.0.0"

View File

@ -11,10 +11,10 @@ import 'dart:html' as html;
// ignore_for_file: camel_case_types // ignore_for_file: camel_case_types
/// Shim for web_ui engine.PlatformViewRegistry /// Shim for web_ui engine.PlatformViewRegistry
/// https://github.com/flutter/engine/blob/master/lib/web_ui/lib/ui.dart#L62 /// https://github.com/flutter/engine/blob/main/lib/web_ui/lib/ui.dart#L62
class platformViewRegistry { class platformViewRegistry {
/// Shim for registerViewFactory /// Shim for registerViewFactory
/// https://github.com/flutter/engine/blob/master/lib/web_ui/lib/ui.dart#L72 /// https://github.com/flutter/engine/blob/main/lib/web_ui/lib/ui.dart#L72
static bool registerViewFactory( static bool registerViewFactory(
String viewTypeId, html.Element Function(int viewId) viewFactory) { String viewTypeId, html.Element Function(int viewId) viewFactory) {
return false; return false;
@ -22,10 +22,10 @@ class platformViewRegistry {
} }
/// Shim for web_ui engine.AssetManager. /// Shim for web_ui engine.AssetManager.
/// https://github.com/flutter/engine/blob/master/lib/web_ui/lib/src/engine/assets.dart#L12 /// https://github.com/flutter/engine/blob/main/lib/web_ui/lib/src/engine/assets.dart#L12
class webOnlyAssetManager { class webOnlyAssetManager {
/// Shim for getAssetUrl. /// Shim for getAssetUrl.
/// https://github.com/flutter/engine/blob/master/lib/web_ui/lib/src/engine/assets.dart#L45 /// https://github.com/flutter/engine/blob/main/lib/web_ui/lib/src/engine/assets.dart#L45
static String getAssetUrl(String asset) => ''; static String getAssetUrl(String asset) => '';
} }

View File

@ -1,3 +1,7 @@
## NEXT
* Updates references to the obsolete master branch.
## 3.0.4 ## 3.0.4
* Minor fixes for new analysis options. * Minor fixes for new analysis options.
@ -186,7 +190,7 @@ when hybrid composition is used [flutter/issues/75667](https://github.com/flutte
performing better on iOS. Flutter 1.22 no longer requires adding the performing better on iOS. Flutter 1.22 no longer requires adding the
`io.flutter.embedded_views_preview` flag to `Info.plist`. `io.flutter.embedded_views_preview` flag to `Info.plist`.
* Added support for Hybrid Composition on Android (see opt-in instructions in [README](https://github.com/flutter/plugins/blob/master/packages/webview_flutter/README.md#android)) * Added support for Hybrid Composition on Android (see opt-in instructions in [README](https://github.com/flutter/plugins/blob/main/packages/webview_flutter/README.md#android))
* Lowered the required Android API to 19 (was previously 20): [#23728](https://github.com/flutter/flutter/issues/23728). * Lowered the required Android API to 19 (was previously 20): [#23728](https://github.com/flutter/flutter/issues/23728).
* Fixed the following issues: * Fixed the following issues:
* 🎹 Keyboard: [#41089](https://github.com/flutter/flutter/issues/41089), [#36478](https://github.com/flutter/flutter/issues/36478), [#51254](https://github.com/flutter/flutter/issues/51254), [#50716](https://github.com/flutter/flutter/issues/50716), [#55724](https://github.com/flutter/flutter/issues/55724), [#56513](https://github.com/flutter/flutter/issues/56513), [#56515](https://github.com/flutter/flutter/issues/56515), [#61085](https://github.com/flutter/flutter/issues/61085), [#62205](https://github.com/flutter/flutter/issues/62205), [#62547](https://github.com/flutter/flutter/issues/62547), [#58943](https://github.com/flutter/flutter/issues/58943), [#56361](https://github.com/flutter/flutter/issues/56361), [#56361](https://github.com/flutter/flutter/issues/42902), [#40716](https://github.com/flutter/flutter/issues/40716), [#37989](https://github.com/flutter/flutter/issues/37989), [#27924](https://github.com/flutter/flutter/issues/27924). * 🎹 Keyboard: [#41089](https://github.com/flutter/flutter/issues/41089), [#36478](https://github.com/flutter/flutter/issues/36478), [#51254](https://github.com/flutter/flutter/issues/51254), [#50716](https://github.com/flutter/flutter/issues/50716), [#55724](https://github.com/flutter/flutter/issues/55724), [#56513](https://github.com/flutter/flutter/issues/56513), [#56515](https://github.com/flutter/flutter/issues/56515), [#61085](https://github.com/flutter/flutter/issues/61085), [#62205](https://github.com/flutter/flutter/issues/62205), [#62547](https://github.com/flutter/flutter/issues/62547), [#58943](https://github.com/flutter/flutter/issues/58943), [#56361](https://github.com/flutter/flutter/issues/56361), [#56361](https://github.com/flutter/flutter/issues/42902), [#40716](https://github.com/flutter/flutter/issues/40716), [#37989](https://github.com/flutter/flutter/issues/37989), [#27924](https://github.com/flutter/flutter/issues/27924).

View File

@ -1,3 +1,7 @@
## 2.8.10
* Updates references to the obsolete master branch.
## 2.8.9 ## 2.8.9
* Updates Gradle to 7.2.1. * Updates Gradle to 7.2.1.

View File

@ -41,5 +41,5 @@ If you would like to contribute to the plugin, check out our [contribution guide
[2]: https://flutter.dev/docs/development/packages-and-plugins/developing-packages#endorsed-federated-plugin [2]: https://flutter.dev/docs/development/packages-and-plugins/developing-packages#endorsed-federated-plugin
[3]: https://pub.dev/packages/pigeon [3]: https://pub.dev/packages/pigeon
[4]: https://pub.dev/packages/mockito [4]: https://pub.dev/packages/mockito
[5]: https://github.com/flutter/plugins/blob/master/CONTRIBUTING.md [5]: https://github.com/flutter/plugins/blob/main/CONTRIBUTING.md

View File

@ -2,7 +2,7 @@ name: webview_flutter_android
description: A Flutter plugin that provides a WebView widget on Android. description: A Flutter plugin that provides a WebView widget on Android.
repository: https://github.com/flutter/plugins/tree/main/packages/webview_flutter/webview_flutter_android repository: https://github.com/flutter/plugins/tree/main/packages/webview_flutter/webview_flutter_android
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+webview%22 issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+webview%22
version: 2.8.9 version: 2.8.10
environment: environment:
sdk: ">=2.14.0 <3.0.0" sdk: ">=2.14.0 <3.0.0"

View File

@ -11,10 +11,10 @@ import 'dart:html' as html;
// ignore_for_file: camel_case_types // ignore_for_file: camel_case_types
/// Shim for web_ui engine.PlatformViewRegistry /// Shim for web_ui engine.PlatformViewRegistry
/// https://github.com/flutter/engine/blob/master/lib/web_ui/lib/ui.dart#L62 /// https://github.com/flutter/engine/blob/main/lib/web_ui/lib/ui.dart#L62
class platformViewRegistry { class platformViewRegistry {
/// Shim for registerViewFactory /// Shim for registerViewFactory
/// https://github.com/flutter/engine/blob/master/lib/web_ui/lib/ui.dart#L72 /// https://github.com/flutter/engine/blob/main/lib/web_ui/lib/ui.dart#L72
static bool registerViewFactory( static bool registerViewFactory(
String viewTypeId, html.Element Function(int viewId) viewFactory) { String viewTypeId, html.Element Function(int viewId) viewFactory) {
return false; return false;
@ -22,10 +22,10 @@ class platformViewRegistry {
} }
/// Shim for web_ui engine.AssetManager. /// Shim for web_ui engine.AssetManager.
/// https://github.com/flutter/engine/blob/master/lib/web_ui/lib/src/engine/assets.dart#L12 /// https://github.com/flutter/engine/blob/main/lib/web_ui/lib/src/engine/assets.dart#L12
class webOnlyAssetManager { class webOnlyAssetManager {
/// Shim for getAssetUrl. /// Shim for getAssetUrl.
/// https://github.com/flutter/engine/blob/master/lib/web_ui/lib/src/engine/assets.dart#L45 /// https://github.com/flutter/engine/blob/main/lib/web_ui/lib/src/engine/assets.dart#L45
static String getAssetUrl(String asset) => ''; static String getAssetUrl(String asset) => '';
} }