flutter/dev/integration_tests/deferred_components_test
Bruno Leroux dcdf72a670
[flutter_tools] - Add queries section to Android manifest file (#137207)
## Description

This PR adds a new section to the Android manifest file.
This section is required for https://github.com/flutter/engine/pull/44579 (because it uses `PackageManager.queryIntentActivities` API ), see:

1. https://developer.android.com/training/package-visibility?hl=en
2. https://developer.android.com/reference/android/content/Intent#ACTION_PROCESS_TEXT
3. https://developer.android.com/reference/android/content/pm/PackageManager?hl=en#queryIntentActivities(android.content.Intent,%20android.content.pm.PackageManager.ResolveInfoFlags)

## Related Issue

Android manifest update for https://github.com/flutter/flutter/issues/107603

## Tests

This PR updates the integration tests and examples Android manifest files, this will help catch error or warning related to this change.
2023-11-16 08:57:20 +00:00
..
android [flutter_tools] - Add queries section to Android manifest file (#137207) 2023-11-16 08:57:20 +00:00
lib Sync analysis_options.yaml & cleanups (#117327) 2022-12-20 14:15:39 -08:00
test_driver Deferred components integration test app (#88030) 2021-08-16 15:32:05 -07:00
.gitignore Download script for deferred components assets (#88905) 2021-08-26 15:18:37 -07:00
deferred_components_loading_units.yaml Deferred components integration test app (#88030) 2021-08-16 15:32:05 -07:00
download_assets.sh Download script for deferred components assets (#88905) 2021-08-26 15:18:37 -07:00
pubspec.yaml Pin package:web 0.4.0 (#138428) 2023-11-15 15:03:21 -08:00
README.md Download script for deferred components assets (#88905) 2021-08-26 15:18:37 -07:00
run_release_test.sh Increase deferred components test timeout (#96423) 2022-01-12 20:40:14 -08:00

Deferred components integration test app

Setup

This integration test app requires manually downloading additional assets to build. Run

./download_assets.sh

before running any of the tests.

Tests

This app contains two sets of tests:

  • flutter drive tests that run a debug mode app to validate framework side logic
  • run_release_test.sh <bundletool.jar path> which builds and installs a release version of this app and validates the loading units are loaded correctly. A path to bundletool.jar must be provided