MCPcopy Create free account
hub / github.com/NativeScript/SimDeck / uninstall_app

Method uninstall_app

packages/server/src/native/bridge.rs:813–824  ·  view source on GitHub ↗
(&self, udid: &str, bundle_id: &str)

Source from the content-addressed store, hash-verified

811 }
812
813 pub fn uninstall_app(&self, udid: &str, bundle_id: &str) -> Result<(), AppError> {
814 let udid = CString::new(udid).map_err(|e| AppError::bad_request(e.to_string()))?;
815 let bundle_id =
816 CString::new(bundle_id).map_err(|e| AppError::bad_request(e.to_string()))?;
817 unsafe {
818 let mut error = ptr::null_mut();
819 bool_result(
820 ffi::xcw_native_uninstall_app(udid.as_ptr(), bundle_id.as_ptr(), &mut error),
821 error,
822 )
823 }
824 }
825
826 pub fn set_pasteboard_text(&self, udid: &str, text: &str) -> Result<(), AppError> {
827 let udid = CString::new(udid).map_err(|e| AppError::bad_request(e.to_string()))?;

Callers 1

uninstall_appFunction · 0.45

Calls 2

bool_resultFunction · 0.85
xcw_native_uninstall_appFunction · 0.85

Tested by

no test coverage detected