[flutter_tools] add --uninstall-first flag and pipe it through to ios-deploy (#102948)

This commit is contained in:
Christopher Fujino
2022-05-07 11:49:07 -07:00
committed by GitHub
parent 4bed76757d
commit 09686a04c9
7 changed files with 73 additions and 2 deletions

View File

@@ -33,7 +33,15 @@ TaskFunction createHotModeTest({String? deviceIdOverride, Map<String, String>? e
final File benchmarkFile = file(path.join(_editedFlutterGalleryDir.path, 'hot_benchmark.json'));
rm(benchmarkFile);
final List<String> options = <String>[
'--hot', '-d', deviceIdOverride!, '--benchmark', '--resident', '--no-android-gradle-daemon', '--no-publish-port', '--verbose',
'--hot',
'-d',
deviceIdOverride!,
'--benchmark',
'--resident',
'--no-android-gradle-daemon',
'--no-publish-port',
'--verbose',
'--uninstall-first',
];
int hotReloadCount = 0;
late Map<String, dynamic> smallReloadData;