flutter/dev/tools/native_driver
auto-submit[bot] c1a301e8e8
Reverts "Manual pub roll (#156549)" (#156607)
Reverts: flutter/flutter#156549
Initiated by: christopherfujino
Reason for reverting: https://github.com/flutter/flutter/issues/156606
Original PR Author: christopherfujino

Reviewed By: {matanlurey}

This change reverts the following previous change:
I manually ran:

```
flutter update-packages --force-upgrade
cd dev/tools && dart bin/generate_gradle_lockfiles.dart --no-gradle-generation --no-exclusion
```

Note this bumps the `google_mobile_ads` plugin, which caused https://github.com/flutter/flutter/issues/156474. I expect it to work this time after https://flutter-review.googlesource.com/c/recipes/+/60340
2024-10-11 18:52:18 +00:00
..
lib Move (dev/tools), complete v0 of native_driver (Android) (#154843) 2024-09-11 23:56:21 +00:00
test Move (dev/tools), complete v0 of native_driver (Android) (#154843) 2024-09-11 23:56:21 +00:00
pubspec.yaml Reverts "Manual pub roll (#156549)" (#156607) 2024-10-11 18:52:18 +00:00
README.md Move (dev/tools), complete v0 of native_driver (Android) (#154843) 2024-09-11 23:56:21 +00:00

Flutter Native Driver

This a minimal library on top of flutter_driver that provides extensions for interacting with the native platform, to otherwise perform actions that are not possible purely through Flutter Driver, and would want to run as an external test (run on the host, not on the device):

  • Take a screenshot, including of native widgets (platform views, textures)
  • Tap on a native widget
  • Rotate the device
  • (Android Only) Background an app and send a "trim memory" signal to the device

Note

While this library runs on Flutter's own CI, and is used to test Flutter's Platform Views, it is not officially supported as an external API, and may change or be removed at any time. We recommend you use existing testing infrastructure, such as: