Use idb to record devices
Summary: `idb` has supported video recording on devices for quite some time now. We even have the implementation in `iOSDevice`, but it's currently unused. As a result, we just need to remove the check within `iOSDevice` that the target is an "emulator" and it will use the `idb` implementation. Removing this check means that the button is now selectable within the UI. Reviewed By: passy Differential Revision: D33913383 fbshipit-source-id: b3d6b4c480c79b54f0d2c206c68092ab62bf71ed
This commit is contained in:
committed by
Facebook GitHub Bot
parent
3a9c875e03
commit
ed03f1b107
@@ -77,7 +77,7 @@ export default class IOSDevice extends ServerDevice {
|
||||
}
|
||||
|
||||
async screenCaptureAvailable() {
|
||||
return this.info.deviceType === 'emulator' && this.connected;
|
||||
return this.connected;
|
||||
}
|
||||
|
||||
async startScreenCapture(destination: string) {
|
||||
|
||||
Reference in New Issue
Block a user