From 3c65463f890636ce687bbbaf5bcd19dee930cce6 Mon Sep 17 00:00:00 2001 From: Amir Hardon Date: Mon, 18 Nov 2019 16:13:52 -0800 Subject: [PATCH] Enable iOS platform views for Flutter Gallery (#45126) While building the iOS platform views support we only enabled it when the app developer explicitly specified it with a flag, the main reasons were using an untested thread configuration, and taking a performance hit (even when no platform view is used due to disabled raster cache). Now that we are using the same dynamic thread configuration whether platform views is used or not, and that raster cache works with platform views in the tree as well, we are almost ready to enabled the platform views support by default. As a first step, I'm enabling it for the Flutter Gallery app on which we run benchmarks. After monitoring the benchmarks and making sure the gallery takes no hit we should be more confident to enabled platform views by default. This change is expected to have no performance effect on the Gallery app at all. --- examples/flutter_gallery/ios/Runner/Info.plist | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/flutter_gallery/ios/Runner/Info.plist b/examples/flutter_gallery/ios/Runner/Info.plist index 026d41a2d06..6991d30f50e 100644 --- a/examples/flutter_gallery/ios/Runner/Info.plist +++ b/examples/flutter_gallery/ios/Runner/Info.plist @@ -43,5 +43,7 @@ UIViewControllerBasedStatusBarAppearance + io.flutter.embedded_views_preview +