Merge pull request #2400 from yjbanov/gen-flx-on-first-ios-launch
[ios] generate flx on first ios launch
This commit is contained in:
commit
df73b48105
@ -370,11 +370,15 @@ class IOSSimulator extends Device {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Future<bool> _setupUpdatedApplicationBundle(ApplicationPackage app, Toolchain toolchain) async {
|
Future<bool> _setupUpdatedApplicationBundle(ApplicationPackage app, Toolchain toolchain) async {
|
||||||
if (_applicationIsInstalledAndRunning(app)) {
|
bool sideloadResult = await _sideloadUpdatedAssetsForInstalledApplicationBundle(app, toolchain);
|
||||||
return _sideloadUpdatedAssetsForInstalledApplicationBundle(app, toolchain);
|
|
||||||
} else {
|
if (!sideloadResult)
|
||||||
|
return false;
|
||||||
|
|
||||||
|
if (!_applicationIsInstalledAndRunning(app))
|
||||||
return _buildAndInstallApplicationBundle(app);
|
return _buildAndInstallApplicationBundle(app);
|
||||||
}
|
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
Future<bool> _buildAndInstallApplicationBundle(ApplicationPackage app) async {
|
Future<bool> _buildAndInstallApplicationBundle(ApplicationPackage app) async {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user