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 {
|
||||
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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user