diff --git a/packages/flutter_tools/lib/src/ios/devices.dart b/packages/flutter_tools/lib/src/ios/devices.dart index 3867a71a21..970def0515 100644 --- a/packages/flutter_tools/lib/src/ios/devices.dart +++ b/packages/flutter_tools/lib/src/ios/devices.dart @@ -189,9 +189,14 @@ class IOSDevice extends Device { return new LaunchResult.failed(); } + final bool strongMode = platformArgs['strong'] ?? false; + // Step 3: Attempt to install the application on the device. final List launchArguments = ['--enable-dart-profiling']; + if (strongMode) + launchArguments.add('--strong'); + if (debuggingOptions.startPaused) launchArguments.add('--start-paused'); diff --git a/packages/flutter_tools/lib/src/ios/simulators.dart b/packages/flutter_tools/lib/src/ios/simulators.dart index 86452b219b..bf562b4040 100644 --- a/packages/flutter_tools/lib/src/ios/simulators.dart +++ b/packages/flutter_tools/lib/src/ios/simulators.dart @@ -316,9 +316,14 @@ class IOSSimulator extends Device { return new LaunchResult.failed(); } + final bool strongMode = platformArgs['strong'] ?? false; + // Prepare launch arguments. final List args = ['--enable-dart-profiling']; + if (strongMode) + args.add('--strong'); + if (!prebuiltApplication) { args.addAll([ '--flutter-assets-dir=${fs.path.absolute(getAssetBuildDirectory())}',