prepareApp method
Implementation
String prepareApp(String deviceName, String os, List<String> permissions,
bool headless, String simulatorName, String bundleIdentifier) {
switch (this) {
case Platform.ios:
final simulatorUid =
createSimulator(simulatorName: simulatorName, device: deviceName);
bootSimulator(simulatorUid, headless: headless);
for (var permission in permissions) {
grantPermission(
uid: simulatorUid,
bundleIndentifier: bundleIdentifier,
permission: permission);
}
return simulatorUid;
default:
throw PlatformNotImplementedException(this);
}
}