Documentation
¶
Index ¶
- Constants
- type AppInfo
- func (a AppInfo) CFBundleExecutable() string
- func (a AppInfo) CFBundleIdentifier() string
- func (a AppInfo) CFBundleName() string
- func (a AppInfo) CFBundleShortVersionString() string
- func (a AppInfo) EnvironmentVariables() map[string]any
- func (a AppInfo) Path() string
- func (a AppInfo) UIFileSharingEnabled() bool
- type BrowseResponse
- type Connection
- func (conn *Connection) BrowseAllApps() ([]AppInfo, error)
- func (conn *Connection) BrowseFileSharingApps() ([]AppInfo, error)
- func (conn *Connection) BrowseSystemApps() ([]AppInfo, error)
- func (conn *Connection) BrowseUserApps() ([]AppInfo, error)
- func (c *Connection) Close()
- func (c *Connection) Uninstall(bundleId string) error
Constants ¶
View Source
const ( // ApplicationType shows if this is a 'User', 'System' or 'Hidden' app ApplicationType = "ApplicationType" CFBundleDisplayName = "CFBundleDisplayName" CFBundleExecutable = "CFBundleExecutable" CFBundleIdentifier = "CFBundleIdentifier" CFBundleName = "CFBundleName" CFBundleNumericVersion = "CFBundleNumericVersion" CFBundleShortVersionString = "CFBundleShortVersionString" CFBundleSupportedPlatforms = "CFBundleSupportedPlatforms" CFBundleVersion = "CFBundleVersion" // DTXcode is the Xcode version the app was built with (e.g. Xcode 16.4 is '1640') DTXcode = "DTXcode" // DTXcodeBuild is the Xcode build version the app was built with DTXcodeBuild = "DTXcodeBuild" Entitlements = "Entitlements" EnvironmentVariables = "EnvironmentVariables" // MinimumOSVersion defines the minimum supported iOS version MinimumOSVersion = "MinimumOSVersion" Path = "Path" // UIDeviceFamily slice of integers for supported devices types where a value of '1' means iPhone, and '2' iPad UIDeviceFamily = "UIDeviceFamily" UIFileSharingEnabled = "UIFileSharingEnabled" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppInfo ¶
func (AppInfo) CFBundleExecutable ¶
func (AppInfo) CFBundleIdentifier ¶
func (AppInfo) CFBundleName ¶
func (AppInfo) CFBundleShortVersionString ¶
func (AppInfo) EnvironmentVariables ¶
func (AppInfo) UIFileSharingEnabled ¶ added in v1.0.118
type BrowseResponse ¶
type Connection ¶
type Connection struct {
// contains filtered or unexported fields
}
func New ¶
func New(device ios.DeviceEntry) (*Connection, error)
func (*Connection) BrowseAllApps ¶ added in v1.0.72
func (conn *Connection) BrowseAllApps() ([]AppInfo, error)
func (*Connection) BrowseFileSharingApps ¶ added in v1.0.118
func (conn *Connection) BrowseFileSharingApps() ([]AppInfo, error)
func (*Connection) BrowseSystemApps ¶
func (conn *Connection) BrowseSystemApps() ([]AppInfo, error)
func (*Connection) BrowseUserApps ¶
func (conn *Connection) BrowseUserApps() ([]AppInfo, error)
func (*Connection) Close ¶
func (c *Connection) Close()
func (*Connection) Uninstall ¶ added in v1.0.34
func (c *Connection) Uninstall(bundleId string) error
Click to show internal directories.
Click to hide internal directories.