DHybird框架设计其二

{
  "common.showToast": {
    "module": "common",
    "action": "showToast",
    "path": "com.dahai.hybird.plugin.ToastPlugin",
    "version": "1.0.0",
    "describe": "描述"
  },
  "common.openCamera": {
    "module": "common",
    "action": "openCamera",
    "path": "com.dahai.hybird.plugin.CameraPlugin",
    "version": "1.0.2",
    "describe": "描述"
  },
 "common.album": {
    "module": "common",
    "action": "album",
    "path": "com.dahai.hybird.plugin.CameraPlugin",
    "version": "1.0.2",
    "describe": "描述"
  },
}
DHybird框架设计其二_第1张图片
image.png
DHybird框架设计其二_第2张图片
image.png
{
  h5_resource_name: " serviceName",
  h5_resource_version: "1.0.0",
  h5_resource_download_url: "http://cdn.dahai.com/client/html.zip",
  h5_resource_route_uri: "dahai://hybird/serviceName/module"
  h5_resource_index: "/module/test/test.html"
}

你可能感兴趣的:(DHybird框架设计其二)