(
device: DeviceInfo,
app: string,
appPath: string,
installOptions?: ProviderDeviceInstallOptions,
)
| 185 | } |
| 186 | |
| 187 | async installApp( |
| 188 | device: DeviceInfo, |
| 189 | app: string, |
| 190 | appPath: string, |
| 191 | installOptions?: ProviderDeviceInstallOptions, |
| 192 | ): Promise<ProviderDeviceInstallResult | undefined> { |
| 193 | const session = this.findSessionForDevice(device); |
| 194 | if (!session) return undefined; |
| 195 | const upload = await this.uploadAppIfNeeded(session, device, app, appPath, installOptions); |
| 196 | await session.client.installApp(upload?.appReference ?? appPath); |
| 197 | return providerInstallResult(upload, installOptions); |
| 198 | } |
| 199 | |
| 200 | async installInstallablePath( |
| 201 | device: DeviceInfo, |
no test coverage detected