Defined in: src/library/IpaHub.ts:25
Manage IPA sources, paired devices, installations, and updates. Create an instance with getIpaHub.
Accessors
dataDir
Get Signature
get dataDir(): string;Defined in: src/library/IpaHub.ts:56
The resolved data directory, including any compatibility fallback. Inactive instances do not create it.
Returns
string
Methods
checkUpdate()
checkUpdate(
device,
bundleId,
options?
): Promise<UpdateCheck>;Defined in: src/library/IpaHub.ts:133
Check a tracked app's recorded update channel; prefetch optionally downloads the update without installing.
Parameters
| Parameter | Type |
|---|---|
device | string |
bundleId | string |
options? | CheckUpdateOptions |
Returns
dispose()
dispose(): Promise<void>;Defined in: src/library/IpaHub.ts:61
Release this instance's resources after its outstanding operations have finished.
Returns
Promise<void>
getAppRelease()
getAppRelease(device, bundleId): Promise<ReleaseInfo | undefined>;Defined in: src/library/IpaHub.ts:128
Read the installed release's notes and publication date, when the app came from a repository.
Parameters
| Parameter | Type |
|---|---|
device | string |
bundleId | string |
Returns
Promise<ReleaseInfo | undefined>
getDeviceInfo()
getDeviceInfo(
device?,
filter?,
interaction?
): Promise<DeviceInfo>;Defined in: src/library/IpaHub.ts:76
Inspect a paired device and the apps installed on it through ipa-hub.
Parameters
| Parameter | Type |
|---|---|
device? | string |
filter? | DeviceFilter |
interaction? | Interaction |
Returns
install()
install(options, interaction?): Promise<InstallResult>;Defined in: src/library/IpaHub.ts:113
Download, sign, and install an app using the same workflow as ipa-hub install.
Delegates to a compatible running server unless bypassServer is true.
The caller handles publisher trust confirmation. Ambiguous choices use the
selection callback or throw SelectionRequired; no terminal prompts are shown.
Source access tokens are saved privately for future updates and omitted from results.
App Manager enrollment URLs, when requested, contain credentials for that device.
Parameters
| Parameter | Type |
|---|---|
options | InstallOptions |
interaction? | Interaction |
Returns
installManager()
installManager(options?, interaction?): Promise<ManagerInstallResult>;Defined in: src/library/IpaHub.ts:157
Enroll App Manager on an iPhone/iPad, starting an already installed service when necessary. Keep this instance alive and call waitForManagerInstallation with the result to finish setup. The personal URL contains a temporary key, replaced when the Home Screen app connects.
Parameters
| Parameter | Type |
|---|---|
options? | ManagerInstallOptions |
interaction? | Interaction |
Returns
listApps()
listApps(device): Promise<InstalledApp[]>;Defined in: src/library/IpaHub.ts:118
List apps installed through ipa-hub on a device. Does not expose the underlying storage records.
Parameters
| Parameter | Type |
|---|---|
device | string |
Returns
listDevices()
listDevices(filter?): Promise<Device[]>;Defined in: src/library/IpaHub.ts:66
List paired devices. Use all to include unavailable devices, or includeSimulators for Simulator destinations.
Parameters
| Parameter | Type |
|---|---|
filter? | DeviceFilter |
Returns
listReleases()
listReleases(source, options?): Promise<ReleasePage>;Defined in: src/library/IpaHub.ts:88
List one page of repository releases. Pass nextPage back as page to continue.
Parameters
| Parameter | Type |
|---|---|
source | string |
options? | ListReleasesOptions |
Returns
listTeams()
listTeams(): Promise<Team[]>;Defined in: src/library/IpaHub.ts:71
List signing teams, local identities, and provisioning profiles discovered from the Mac's Xcode setup.
Returns
pull()
pull(options, interaction?): Promise<PullResult>;Defined in: src/library/IpaHub.ts:99
Download an IPA into the managed cache, or return a local file unchanged. Ambiguous assets use the selection callback.
Parameters
| Parameter | Type |
|---|---|
options | PullOptions |
interaction? | Interaction |
Returns
resolve()
resolve(source, options?): Promise<ResolvedSource>;Defined in: src/library/IpaHub.ts:83
Browse a source's release and matching IPA assets without downloading them. A release may have no matching assets.
Parameters
| Parameter | Type |
|---|---|
source | string |
options? | ResolveOptions |
Returns
setAutomaticSignatureRefresh()
setAutomaticSignatureRefresh(
device,
bundleId,
enabled
): Promise<InstalledApp>;Defined in: src/library/IpaHub.ts:123
Enable or disable the server's hourly signature refresh for a tracked app.
Parameters
| Parameter | Type |
|---|---|
device | string |
bundleId | string |
enabled | boolean |
Returns
updateApp()
updateApp(
device,
bundleId,
options?
): Promise<InstallResult>;Defined in: src/library/IpaHub.ts:138
Install an available update, or renew the current release with resign: true. Delegates to a running server by default.
Parameters
| Parameter | Type |
|---|---|
device | string |
bundleId | string |
options? | UpdateAppOptions |
Returns
updateApps()
updateApps(device, options?): Promise<AppUpdateResult[]>;Defined in: src/library/IpaHub.ts:143
Update or re-sign all tracked apps on a device, returning each success, failure, or skipped app.
Parameters
| Parameter | Type |
|---|---|
device | string |
options? | UpdateAllAppsOptions |
Returns
waitForManagerInstallation()
waitForManagerInstallation(result, interaction?): Promise<void>;Defined in: src/library/IpaHub.ts:162
Wait for the Home Screen app to confirm its permanent key. Aborting or disposing cancels unfinished setup.
Parameters
| Parameter | Type |
|---|---|
result | ManagerInstallResult |
interaction? | Interaction |
Returns
Promise<void>