Introduce support for new VM based minicap to support Android 12

This commit introduce a new option to use a new minicap
implementation by specifying --screen-grabber or the env
variable SCREEN_GRABBER. The current native minicap is the default
and is refered as 'minicap-bin'. The new minicap which is packaged
in an apk is usable with 'minicap-apk' and will be used as a
fallback.
At the moment, this apk is expected to be included in
minicap-prebuilt node package at this location
minicap-prebuilt/prebuilt/noarch/minicap.apk.

STFService.apk has also been updated to take into account Android 12

Signed-off-by: Crepieux Pierre <pierre.crepieux@orange.com>
This commit is contained in:
Crepieux Pierre
2021-05-31 18:00:28 +02:00
parent 69e2a3651e
commit bb1c20d1f7
9 changed files with 80 additions and 30 deletions

View File

@@ -63,7 +63,7 @@
"lodash": "^4.14.2",
"markdown-serve": "^0.8.0",
"mime": "^1.3.4",
"@devicefarmer/minicap-prebuilt": "^2.6.0",
"@devicefarmer/minicap-prebuilt": "^2.7.0",
"minimatch": "^3.0.3",
"@devicefarmer/minitouch-prebuilt": "^1.3.0",
"my-local-ip": "^1.0.0",