# bridge更新日志

[ ! ] 表示修复优化bug
[ + ] 表示增加新接口
[ - ] 表示废弃

# bridge 更新日志

# 1.1.6

  • [ + ] uploadFilesWithSuccessCallBack 获取日志方法
  • [ + ] getCurrentHomeCacheAppliances 获取当前家庭下 APP 缓存的设备

# 1.1.5

  • [ + ] choosePhoto 选取照片方法
  • [ + ] takePhoto 拍照方法
  • [ + ] chooseAlbumVideo 选取视频方法
  • [ + ] recordVideo 录像方法
  • [ + ] uploadLocalFile 文件上传方法

# 1.1.4

  • [ + ] showGuideEvaluationDialog调起原生评价弹窗

# 1.1.3

  • [ ! ] setGlobalAppCache 方法,设置 APP 缓存调用内部修改
  • [ ! ] getGlobalAppCache 方法,获取 APP 缓存调用内部修改
  • [ + ] openExternalApplication 打开外部第三方 APP 方法;
    注:必须要在 smarthome v3.9 版本、tsmartlife v2.6.0 版本,及以上版本中才能调用该方法;

# 1.1.2

# 1.1.1

  • [ + ] 方法 getSmartHomeCurrentHomeInfo 获取 APP 当前家庭 homegroupId;
    注:必须要在 smarthome v3.8 版本、tsmartlife v2.5.0 版本,及以上版本中才能调用该方法;
    H5 中需判断 APP 当前版本;

# 1.1.0

创建 smarthome-h5-bridge 插件包
上传 smarthome-h5-bridge 至 npm.js