add a screenshot command
diff --git a/packages/flutter_tools/lib/src/ios/devices.dart b/packages/flutter_tools/lib/src/ios/devices.dart
index d005f32..6d676ca 100644
--- a/packages/flutter_tools/lib/src/ios/devices.dart
+++ b/packages/flutter_tools/lib/src/ios/devices.dart
@@ -250,6 +250,18 @@
@override
void clearLogs() {
}
+
+ @override
+ bool get supportsScreenshot => false;
+
+ @override
+ Future<bool> takeScreenshot(File outputFile) {
+ // We could use idevicescreenshot here (installed along with the brew
+ // ideviceinstaller tools). It however requires a developer disk image on
+ // the device.
+
+ return new Future<bool>.value(false);
+ }
}
class _IOSDeviceLogReader extends DeviceLogReader {