Commit 58b2c630 authored by Yegor Jbanov's avatar Yegor Jbanov

[ios] generate flx on first ios launch

parent 6ab1ff35
......@@ -370,11 +370,15 @@ class IOSSimulator extends Device {
}
Future<bool> _setupUpdatedApplicationBundle(ApplicationPackage app, Toolchain toolchain) async {
if (_applicationIsInstalledAndRunning(app)) {
return _sideloadUpdatedAssetsForInstalledApplicationBundle(app, toolchain);
} else {
bool sideloadResult = await _sideloadUpdatedAssetsForInstalledApplicationBundle(app, toolchain);
if (!sideloadResult)
return false;
if (!_applicationIsInstalledAndRunning(app))
return _buildAndInstallApplicationBundle(app);
}
return true;
}
Future<bool> _buildAndInstallApplicationBundle(ApplicationPackage app) async {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment