diff --git a/packages/patrol/lib/src/binding.dart b/packages/patrol/lib/src/binding.dart index 8ac5bd9d2..8c7a806ab 100644 --- a/packages/patrol/lib/src/binding.dart +++ b/packages/patrol/lib/src/binding.dart @@ -183,8 +183,9 @@ class PatrolBinding extends LiveTestWidgetsFlutterBinding { } @override - ViewConfiguration createViewConfigurationFor(RenderView renderView) { - final view = renderView.flutterView; + ViewConfiguration createViewConfiguration() { + final view = platformDispatcher.implicitView!; + return TestViewConfiguration.fromView( size: view.physicalSize / view.devicePixelRatio, view: view, diff --git a/packages/patrol/lib/src/native/native_automator.dart b/packages/patrol/lib/src/native/native_automator.dart index 5ac4f1df3..65eddd1d3 100644 --- a/packages/patrol/lib/src/native/native_automator.dart +++ b/packages/patrol/lib/src/native/native_automator.dart @@ -78,6 +78,7 @@ class NativeAutomatorConfig { this.logger = _defaultPrintLogger, }); + /// Apps installed on the simulator for purpose of native view inspection in DevTools extension final String iosInstalledApps; /// Host on which Patrol server instrumentation is running.