pub struct LaunchAppOptions {
pub bundle_id: String,
pub clear_state: bool,
pub clear_keychain: bool,
pub arguments: Vec<String>,
pub permissions: Vec<(SimctlPermission, PermissionAction)>,
pub app_path: Option<String>,
pub launch_activity: Option<String>,
}Expand description
Typed shape of maestro yaml launchApp: mapping. Adapter assembles this
from yaml fields; SDK consumes it in App::launch_app_with_options.
Covers maestro launchApp.permissions / arguments / stopApp.
Fields§
§bundle_id: String§clear_state: bool§clear_keychain: bool§arguments: Vec<String>Process-level argv passed via simctl launch -- <args>.
permissions: Vec<(SimctlPermission, PermissionAction)>Permission directives applied in declaration order BEFORE launch.
app_path: Option<String>App bundle path for clear_state / clear_keychain wipe — mirrors the
launch_fresh::app_path parameter; usually populated by the
adapter from SMIX_APP_PATH_<NORMALIZED_BUNDLE> env.
launch_activity: Option<String>Android launch activity override.
None means “ask the device”: the Android runner resolves the
package’s launcher activity through the package manager. Set
only when an app has more than one entry point and the flow
wants a specific one. iOS ignores it — a bundle id already
names what to launch.
Trait Implementations§
Source§impl Clone for LaunchAppOptions
impl Clone for LaunchAppOptions
Source§fn clone(&self) -> LaunchAppOptions
fn clone(&self) -> LaunchAppOptions
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more