(device: DeviceInfo)
| 781 | } |
| 782 | |
| 783 | function leaseBackendForDevice(device: DeviceInfo): LeaseBackend | undefined { |
| 784 | if (isIosFamily(device)) return 'ios-instance'; |
| 785 | if (device.platform === 'android') return 'android-instance'; |
| 786 | return undefined; |
| 787 | } |
| 788 | |
| 789 | function assertRequestedConnectionScope( |
| 790 | state: RemoteConnectionState, |
no test coverage detected