Ensure Example Packages Work on Android API 36 (#9241)
Ensured the example plugin apps on Android work on Android API 36 by updating configurations and sucessfully running flutter build apk (means the app can successfully build + all dependencies are resolvable). For compatibility with Android API 36, the example plugin apps on Android should have the following configurations:
targetSdk: 36
compileSdk: 36
AGP version: 8.9.1
Gradle version: 8.11.1
Most packages no longer require a manual bump of targetSdk and compileSdk due to usage of values from Flutter Gradle Plugin. Below is a list of example plugin apps on Android:
Partially Adresses https://github.com/flutter/flutter/issues/163071
## 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.
[pigeon] Reland: Add an initial example app (#3832)
Relands https://github.com/flutter/packages/pull/3761, with the native runners re-created from stable. The important change was the principle class in the macOS Info.plist being NSApplication instead of FlutterApplication, since the latter doesn't exist on stable.
(The pigeon versions also changed because when I re-created the app I re-ran pigeon, and had a slightly newer version.)
Roll Flutter master to 8b22f67c85114 (#9407)
Rolls the Flutter master pin to 8b22f67c85114def3f090286c386627efdf59614
https://github.com/flutter/flutter/compare/d8baa77b3846...8b22f67c8511
Makes the following changes:
- Updates the Pigeon example app's iOS channel registration for the breaking change caused by UISceneDelegate automigration in the flutter tool
- Updates the video_player_avfoundation XCTests to use mock registrars instead of real registrars created by the real registry. This was tech debt, since unit tests shouldn't be coupled to real app state, and it broke because of the registry no longer being available when the unit tests run (due to the same migration).
- Updates video_player_avfoundation to take a view provider, so that tests can inject a fake provider, decoupling unit test behavior from the actual app's root view controller, fixing a potential race after the UISceneDelegate migration.
- Skips quick_actions_ios XCUITests until the plugin can be fixed. Tracked in https://github.com/flutter/flutter/issues/169928
[pigeon] Add Swift Package Manager integration to example app (#8225)
This migrates Pigeon's example app to have Swift Package Manager integration. This raises the example apps' Flutter SDK requirement to 3.24.0 or higher.
This also checks-in CocoaPods integration stuff that was missing.
I will get a text exemption for this change.
The example apps were migrated using the following commands:
```
dart run script/tool/bin/flutter_plugin_tools.dart build-examples --ios --swift-package-manager
dart run script/tool/bin/flutter_plugin_tools.dart build-examples --macos --swift-package-manager
```
Part of: https://github.com/flutter/flutter/issues/159173
[pigeon] Reland: Add an initial example app (#3832)
Relands https://github.com/flutter/packages/pull/3761, with the native runners re-created from stable. The important change was the principle class in the macOS Info.plist being NSApplication instead of FlutterApplication, since the latter doesn't exist on stable.
(The pigeon versions also changed because when I re-created the app I re-ran pigeon, and had a slightly newer version.)
[pigeon] Enable example app build in CI (#8119)
Removes example/pubspec.yaml, which is no longer needed since the excerpt system was rewritten not to use build_runner, so that the repo tooling recognizes example/app/ as the actual example, enabling all the standard CI steps (build example for each platform, run integration test, etc.) to run for it.
[various] Update example apps' .gitignore (#8156)
Migrated by running:
```
dart run script/tool/bin/flutter_plugin_tools.dart build-examples --ios --swift-package-manager
dart run script/tool/bin/flutter_plugin_tools.dart build-examples --macos --swift-package-manager
```
No test changes as this is a configuration change. I will get a test exemption.
Part of https://github.com/flutter/flutter/issues/159173
[pigeon] Reland: Add an initial example app (#3832)
Relands https://github.com/flutter/packages/pull/3761, with the native runners re-created from stable. The important change was the principle class in the macOS Info.plist being NSApplication instead of FlutterApplication, since the latter doesn't exist on stable.
(The pigeon versions also changed because when I re-created the app I re-ran pigeon, and had a slightly newer version.)
[various] Speed up build-examples (#3849)
https://github.com/flutter/flutter/issues/125707
- Create pluginTools config for every example that shrunk material icons and had an android config
Likely some build caching but before/after If someone knows how to clean the cache or force a rebuild I will give more accurate after numbers.
Command
time dart run ./script/tool/bin/flutter_plugin_tools.dart build-examples --apk
Secondary validation from @stuartmorgan who discovered this is between a 10% and 25% speed increase.
Existing tests add confidence this is non-breaking. New tests not required because these are optional flags. Validation this does not change is low consequence. Test update to exclude these config files from changelog requirements.