diff --git a/docs/assets/img/device-ctrl.webm b/docs/assets/img/device-ctrl.webm new file mode 100644 index 00000000000..4c85c9aad8e Binary files /dev/null and b/docs/assets/img/device-ctrl.webm differ diff --git a/docs/en-us/assets/img/device-ctrl.webm b/docs/en-us/assets/img/device-ctrl.webm new file mode 100644 index 00000000000..4c85c9aad8e Binary files /dev/null and b/docs/en-us/assets/img/device-ctrl.webm differ diff --git a/docs/en-us/guide/debug.md b/docs/en-us/guide/debug.md index 237e5294b82..51fc248889f 100644 --- a/docs/en-us/guide/debug.md +++ b/docs/en-us/guide/debug.md @@ -191,10 +191,20 @@ Hippy implements node and property mapping from front-end to native, allowing vi Elements Visualization Inspection example -

+# Operate Mobile Phone Interface + +> Android SDK min supported version 2.16.0 + +Hippy implements the `Input` interface of the `Chrome DevTools Protocol` . You can directly operate the mobile phone interface on Chrome DevTools without switching back and forth during debugging. + + + # HMR & Live-Reload > min support version 2.12.0 diff --git a/docs/guide/debug.md b/docs/guide/debug.md index 3999e8c1c22..84a0cded47f 100644 --- a/docs/guide/debug.md +++ b/docs/guide/debug.md @@ -191,10 +191,21 @@ Hippy 实现了节点和属性从前端到终端的映射,可以在 Chrome Dev Elements 可视化审查示例(您的浏览器不支持webm视频格式) -

+# 操作手机界面能力 + +> Android SDK 最低支持版本 2.16.0 + +Hippy 实现了 `Chrome DevTools Protocol` 协议的 `Input` 接口,可以在 Chrome DevTools 上直接操作手机界面,调试时无需来回切换。 + + + + # HMR & Live-Reload 能力 > 最低支持版本 2.12.0 @@ -645,7 +656,7 @@ webpack(webpackConfig, (err, stats) => { LogUtils.e("MyActivity", "loadModule failed code:" + statusCode + ", msg=" + msg); } } - + @Override public boolean onJsException(HippyJsException exception) { return true;