tweaselORG / appstraction

An abstraction layer for common instrumentation functions (e.g. installing and starting apps, setting preferences, etc.) on Android and iOS.
MIT License
6 stars 1 forks source link

`awaitAdb` never stops if no device is present #76

Closed zner0L closed 1 year ago

zner0L commented 1 year ago

While testing #69 I realized that awaitAdb never stops because there is no timeout on wait-for-device. This is extremely annoying. I guess also, wait-for-device is mostly important when it comes to emulators and less important for physical devices. Maybe we should just exit awaitAdb if adb finds no devices and runTarget: 'device'?

baltpeter commented 1 year ago

Duplicate of https://github.com/tweaselORG/appstraction/issues/57.