Initial support for KaiOS device plugins

Summary: Introduces basic KaiOSDevice class. Since kaios phones support adb, it is inherited from AndroidDevice

Reviewed By: jknoxville

Differential Revision: D17608605

fbshipit-source-id: 6b2c5834a1f5862b864c8e76202d0d401e58cbcc
This commit is contained in:
Alexander Putilin
2019-09-27 06:09:40 -07:00
committed by Facebook Github Bot
parent 1c9fc75457
commit dda800c4a3
2 changed files with 25 additions and 3 deletions

View File

@@ -0,0 +1,16 @@
/**
* Copyright 2018-present Facebook.
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
* @format
*/
import AndroidDevice from './AndroidDevice';
export default class KaiOSDevice extends AndroidDevice {
async screenCaptureAvailable() {
// The default way of capturing screenshots through adb does not seem to work
// There is a way of getting a screenshot through KaiOS dev tools though
return false;
}
}