文件最后提交记录最后更新时间
[various] Update READMEs to reflect current OS support (#10470) * Updates all READMEs to list the OS versions currently supported by the latest platform implementations. * This is not necessarily the same as the OS version that the current version of the app-facing platform supports; for plugins where the app-facing package still supports Flutter 3.32, clients using Flutter 3.32 will get older versions of the platform implementations that are still compatible with iOS 12/Android API 21-23. However, the Flutter team no longer actively supports those versions, which is what we are choosing to reflect in READMEs. (In the future, we may want to move this information to platform implementation package READMEs, although that will make it harder to skim.) * Updates all Android plugins that still listed a minSdkVersion of 21 to 24. * This is a no-op for clients; all of these implementation packages already require Flutter 3.35, which can only build for 24+. * This part is the Android version of https://github.com/flutter/packages/pull/10231, but no SDK changes were needed here. All the changes where we could make code changes were already done in https://github.com/flutter/packages/pull/9851. Fixes https://github.com/flutter/flutter/issues/178757 ## Pre-Review Checklist [^1]: Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling.5 个月前
Update repo for 3.38 (#10405) Does all of the steps from https://github.com/flutter/flutter/blob/master/docs/ecosystem/release/Updating-Packages-repo-for-a-stable-release.md for the 3.38 release (except the first one, which the stable roller will handle). This includes a lot of autoformat changes, because the N-2 is now 3.32, which means many packages are now being updated to a min Dart SDK of 3.8, triggering a formatter behavior change.6 个月前
[espresso] Adds EspressoFlutter as a first-party plugin (#2369) * Initial open source release of Espresso bindings for Flutter as a new first-party plugin, espresso.6 年前
[espresso] Adds EspressoFlutter as a first-party plugin (#2369) * Initial open source release of Espresso bindings for Flutter as a new first-party plugin, espresso.6 年前
Standardize Copyrights: Chromium->Flutter (#2996) In all copyright messages (and in the Xcode project organization name) standardize on "The Flutter Authors", adding "The Chromium Authors" to the Flutter AUTHORS list. This reduces inconsistency in the copyright lines in this repository, moving closer to a single consistent copyright+license (as in flutter/engine and flutter/flutter) Updates the validation script to no longer accept "The Chromium Authors" or "the Chromium project authors" in first-party code.5 年前
[various] Update READMEs to reflect current OS support (#10470) * Updates all READMEs to list the OS versions currently supported by the latest platform implementations. * This is not necessarily the same as the OS version that the current version of the app-facing platform supports; for plugins where the app-facing package still supports Flutter 3.32, clients using Flutter 3.32 will get older versions of the platform implementations that are still compatible with iOS 12/Android API 21-23. However, the Flutter team no longer actively supports those versions, which is what we are choosing to reflect in READMEs. (In the future, we may want to move this information to platform implementation package READMEs, although that will make it harder to skim.) * Updates all Android plugins that still listed a minSdkVersion of 21 to 24. * This is a no-op for clients; all of these implementation packages already require Flutter 3.35, which can only build for 24+. * This part is the Android version of https://github.com/flutter/packages/pull/10231, but no SDK changes were needed here. All the changes where we could make code changes were already done in https://github.com/flutter/packages/pull/9851. Fixes https://github.com/flutter/flutter/issues/178757 ## Pre-Review Checklist [^1]: Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling.5 个月前
Remove "All right reserved" from all files (#10066) Per guidance from legal on current preferred practice, remove "All rights reserved" from all LICENSE files and header blocks, and update the repo tool check accordingly.7 个月前
[various] Update READMEs to reflect current OS support (#10470) * Updates all READMEs to list the OS versions currently supported by the latest platform implementations. * This is not necessarily the same as the OS version that the current version of the app-facing platform supports; for plugins where the app-facing package still supports Flutter 3.32, clients using Flutter 3.32 will get older versions of the platform implementations that are still compatible with iOS 12/Android API 21-23. However, the Flutter team no longer actively supports those versions, which is what we are choosing to reflect in READMEs. (In the future, we may want to move this information to platform implementation package READMEs, although that will make it harder to skim.) * Updates all Android plugins that still listed a minSdkVersion of 21 to 24. * This is a no-op for clients; all of these implementation packages already require Flutter 3.35, which can only build for 24+. * This part is the Android version of https://github.com/flutter/packages/pull/10231, but no SDK changes were needed here. All the changes where we could make code changes were already done in https://github.com/flutter/packages/pull/9851. Fixes https://github.com/flutter/flutter/issues/178757 ## Pre-Review Checklist [^1]: Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling.5 个月前
[dependabot]: Bump the gradle-plugin group across 19 directories with 1 update (#10456) Bumps the gradle-plugin group with 1 update in the /packages/camera/camera_android/android directory: com.android.tools.build:gradle. Bumps the gradle-plugin group with 1 update in the /packages/camera/camera_android_camerax/android directory: com.android.tools.build:gradle. Bumps the gradle-plugin group with 1 update in the /packages/espresso/android directory: com.android.tools.build:gradle. Bumps the gradle-plugin group with 1 update in the /packages/file_selector/file_selector_android/android directory: com.android.tools.build:gradle. Bumps the gradle-plugin group with 1 update in the /packages/flutter_plugin_android_lifecycle/android directory: com.android.tools.build:gradle. Bumps the gradle-plugin group with 1 update in the /packages/google_maps_flutter/google_maps_flutter_android/android directory: com.android.tools.build:gradle. Bumps the gradle-plugin group with 1 update in the /packages/google_sign_in/google_sign_in_android/android directory: com.android.tools.build:gradle. Bumps the gradle-plugin group with 1 update in the /packages/image_picker/image_picker_android/android directory: com.android.tools.build:gradle. Bumps the gradle-plugin group with 1 update in the /packages/in_app_purchase/in_app_purchase_android/android directory: com.android.tools.build:gradle. Bumps the gradle-plugin group with 1 update in the /packages/interactive_media_ads/android directory: com.android.tools.build:gradle. Bumps the gradle-plugin group with 1 update in the /packages/local_auth/local_auth_android/android directory: com.android.tools.build:gradle. Bumps the gradle-plugin group with 1 update in the /packages/path_provider/path_provider_android/android directory: com.android.tools.build:gradle. Bumps the gradle-plugin group with 1 update in the /packages/pigeon/platform_tests/alternate_language_test_plugin/android directory: com.android.tools.build:gradle. Bumps the gradle-plugin group with 1 update in the /packages/pigeon/platform_tests/test_plugin/android directory: com.android.tools.build:gradle. Bumps the gradle-plugin group with 1 update in the /packages/quick_actions/quick_actions_android/android directory: com.android.tools.build:gradle. Bumps the gradle-plugin group with 1 update in the /packages/shared_preferences/shared_preferences_android/android directory: com.android.tools.build:gradle. Bumps the gradle-plugin group with 1 update in the /packages/url_launcher/url_launcher_android/android directory: com.android.tools.build:gradle. Bumps the gradle-plugin group with 1 update in the /packages/video_player/video_player_android/android directory: com.android.tools.build:gradle. Bumps the gradle-plugin group with 1 update in the /packages/webview_flutter/webview_flutter_android/android directory: com.android.tools.build:gradle. Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Updates com.android.tools.build:gradle from 8.12.1 to 8.13.1 Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase. --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - @dependabot rebase will rebase this PR - @dependabot recreate will recreate this PR, overwriting any edits that have been made to it - @dependabot merge will merge this PR after your CI passes on it - @dependabot squash and merge will squash and merge this PR after your CI passes on it - @dependabot cancel merge will cancel a previously requested merge and block automerging - @dependabot reopen will reopen this PR if it is closed - @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency - @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency - @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions </details>6 个月前
README.md

espresso

Provides bindings for Espresso tests of Flutter Android apps.

Android
Support SDK 24+

Installation

Add the espresso package as a dev_dependency in your app's pubspec.yaml. If you're testing the example app of a package, add it as a dev_dependency of the main package as well.

Add android:usesCleartextTraffic="true" in the <application> in the AndroidManifest.xml of the Android app used for testing. It's best to put this in a debug or androidTest AndroidManifest.xml so that you don't ship it to end users. (See the example app of this package.)

Add the following dependencies in android/app/build.gradle:

dependencies {
    testImplementation("junit:junit:4.13.2")
    testImplementation("com.google.truth:truth:1.1.3")
    androidTestImplementation("androidx.test:runner:1.6.1")
    androidTestImplementation("androidx.test.espresso:espresso-core:3.6.1")
    api("androidx.test:core:1.2.0")
}

Create an android/app/src/androidTest folder and put a test file in a package-appropriate subfolder, e.g. android/app/src/androidTest/java/com/example/MainActivityTest.java:

package com.example.espresso_example;

import static androidx.test.espresso.flutter.EspressoFlutter.onFlutterWidget;
import static androidx.test.espresso.flutter.action.FlutterActions.click;
import static androidx.test.espresso.flutter.action.FlutterActions.syntheticClick;
import static androidx.test.espresso.flutter.assertion.FlutterAssertions.matches;
import static androidx.test.espresso.flutter.matcher.FlutterMatchers.isDescendantOf;
import static androidx.test.espresso.flutter.matcher.FlutterMatchers.withText;
import static androidx.test.espresso.flutter.matcher.FlutterMatchers.withTooltip;
import static androidx.test.espresso.flutter.matcher.FlutterMatchers.withType;
import static androidx.test.espresso.flutter.matcher.FlutterMatchers.withValueKey;
import static com.google.common.truth.Truth.assertThat;
import static org.junit.Assert.fail;

import androidx.test.core.app.ActivityScenario;
import androidx.test.espresso.flutter.EspressoFlutter.WidgetInteraction;
import androidx.test.espresso.flutter.assertion.FlutterAssertions;
import androidx.test.espresso.flutter.matcher.FlutterMatchers;
import androidx.test.ext.junit.runners.AndroidJUnit4;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;

/** Unit tests for {@link EspressoFlutter}. */
@RunWith(AndroidJUnit4.class)
public class MainActivityTest {

    @Before
    public void setUp() throws Exception {
        ActivityScenario.launch(MainActivity.class);
    }

    @Test
    public void performClick() {
        onFlutterWidget(withTooltip("Increment")).perform(click());
        onFlutterWidget(withValueKey("CountText")).check(matches(withText("Button tapped 1 time.")));
    }

You'll need to create a test app that enables the Flutter driver extension. You can put this in your test_driver/ folder, e.g. test_driver/example.dart. Replace <app_package_name> with the package name of your app. If you're developing a plugin, this will be the package name of the example app.

import 'package:flutter_driver/driver_extension.dart';
import 'package:<app_package_name>/main.dart' as app;

void main() {
  enableFlutterDriverExtension();
  app.main();
}

The following command line command runs the test locally:

./gradlew app:connectedAndroidTest -Ptarget=`pwd`/../test_driver/example.dart

Espresso tests can also be run on Firebase Test Lab:

./gradlew app:assembleAndroidTest
./gradlew app:assembleDebug -Ptarget=<path_to_test>.dart
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>