在排毒测试期间如何获得设备类型信息本机反应?

问题描述

在测试中,我有类似的东西:

  console.log('Device id',device.id);
  console.log('Device name',device.name);

我的输出(连接了物理Android设备时):

detox[16444] INFO:  at e2e\firstTest.e2e.js:99:11
 Device id R9WN50QT4CJ
detox[16444] INFO:  at e2e\firstTest.e2e.js:100:11
 Device name R9WN50QT4CJ

我有最新版本的排毒。我可以使用模拟器(Pixel 2 android studio)进行复制。在仿真器中,设备ID和设备名称也相同。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...