smart_device_core 0.3.9 copy "smart_device_core: ^0.3.9" to clipboard
smart_device_core: ^0.3.9 copied to clipboard

Flutter Plugin SDK named smart_device_core

0.3.9 #

  • 依赖原生 SDK 版本下限:iOS SmartDeviceCoreSDK ≥ 2.3.5、Android com.smartdevice.sdk:SmartDeviceCore ≥ 2.3.6
  • 适配 Android SDK 2.3.6 的 API 变更:QueryDeviceResponse 包路径由 com.ai.addxbase.matter.model 迁至 com.ai.addxnet.model(插件内部已适配,Dart 侧无感知);BindCore.requestDeviceInfo 回调数据新增 userSn / factorySupport 字段(向后兼容)。宿主工程若因 SDK 2.3.6 传递引入的 netty 出现 META-INF/INDEX.LIST 打包冲突,需在 android/app/build.gradlepackaging.resources 中排除该文件(example 已示范)
  • 新增 高帧率(慢动作)数据面:DeviceSupport.supportHighFramerate / supportHighFramerateResolutionFilterEntry.highFramerateRecordEventBean / RecordEventDetailBeanhighFramerate / framerate / framerates 等字段
  • 新增 VideoResolution 高帧率档位(1280x720@60 / 1024x768@60 / 1920x1080@120 / 2000x1500@120)及 normalizeResolutionValue / resolutionFramerate / resolutionWithoutFramerate / isHighFramerateResolution / videoResolutionFromValue 解析工具
  • 新增 PlaybackSpeed 慢动作回放档位算法(与 Android SDK RecordSpeedOptions 规则一致:60fps 三档、120fps 四档、图片仅 1x)
  • 新增 DeviceSettingCore.updateAttribute 通用属性更新桥接(双端),可用于写入高帧率档位
  • 新增 LibraryCore.downloadSource(speedRatio:) 变速下载(双端),取值仅 1 / 0.5 / 0.25 / 0.125,非法取值抛 ArgumentError
  • 新增 直播 canChangeResolution 桥接:onDeviceMsgPush(code = 10, bool)(iOS 取 PlayerSDK 回调,Android 解析 RTC DataChannel 消息)
  • 修复 iOS onDeviceMsgPushdevice_network_low / play_max_connection_limit / local_network_policy_denied 三个 code 上只回 2 个参数,而 Dart 侧固定按三参解包导致越界、这些事件从未到达 Dart 的问题
  • 新增 example「High Frame Rate / Slow Motion」页面,直播页新增慢动作录制期间锁定清晰度切换的示例
  • 新增 doc/video_playback.md;README 补充高帧率 / 回放倍速 / 变速下载 / canChangeResolution 章节

0.3.8 #

  • 新增 NatureChatCore 模块(Nature Expert 聊天:init + message SSE),Android/iOS/Dart 三层与 doc/nature_chat.md
  • 修复 iOS 批量 traceIds 被当作单条匹配导致批量已读/收藏失败的问题
  • 优化 iOS 桥接层参数校验失败时回调 onError(原为静默无响应)
  • 更新 Android SDK 至 2.1.17
  • 更新 iOS SDK 至 2.3.4

0.3.7 #

  • 更新 iOS SDK 至 2.2.6

0.3.6 #

  • 新增 DeviceOTACore 模块(固件查询、OTA升级、停止OTA、自动升级开关)
  • 新增 OTA demo 页面
  • 更新 Android SDK 至 2.1.12
  • 更新 iOS SDK 至 0.3.6
  • 补全缺失的 JSON 序列化文件

0.3.5 #

  • 更新 iOS SDK 至 2.2.5(原生侧支持高帧率录制;插件层无新增 API,高帧率相关 Dart 能力见 0.3.9)

0.1.0 #

  • TODO: Describe initial release.

0.1.1 #

  • add ios live

0.1.2 #

  • add live control feature

0.1.3 #

0.1.4 #

0.1.5 #

  • fix bug of onDebug、onReport not working

0.1.6 #

  • feature: add Bluetooth discover and bind

0.1.7 #

  • feature: add sd card play

0.1.8 #

  • feature: add two-way ble bind

0.1.9 #

  • feature: support flutter 3.29.3

0.2.0 #

  • feature: update native SDK

0.2.1 #

  • feature: add bind interface getScanedWifiListOverA4xBle

0.2.2 #

  • fix bug of onDebug

0.2.3 #

  • fix ios Debug problem

0.2.4 #

  • 统一了android IOS的入参
  • 新增了通过鸟类名称获取wiki的接口
  • 新增了通过userSn获取设备信息

0.2.5 #

  • 统一了android IOS的入参

0.2.9 #

  • 修复:双端wiki查询时,传入语言未生效

0.3.0 #

  • 修复iOS SDK login crash问题

0.3.1 #

  • 删除iOS SDK 获取从server获取ip逻辑

0.3.2 #

  • 新增登录模块,支持动态获取 token
  • 移除硬编码 JWT Token,改为登录后动态获取
  • 新增全局 token 过期处理与自动跳转登录页
  • WiFi 密码改为用户手动输入,移除硬编码
  • iOS 新增 permission_handler 位置权限配置
  • 鸟类识别页功能增强
  • 蓝牙搜索设备优化体验
  • 设备设置页重构优化
  • 新增 network_info_plus、shared_preferences、permission_handler 等依赖

0.3.3 #

  • 完善 README 文档,新增完整 API 使用说明和项目结构
  • 蓝牙+有线发现设备页扫描动画新增有线图标
  • 通过 userSn 获取设备信息改为弹窗交互,支持输入和结果展示

0.3.4 #

  • 新增 BindCore checkLocalNetPermission 接口,支持 iOS 14+ 本地网络权限检测
  • 修复鸟类识别 Wiki 查询时 currentLanguage 为空导致请求失败的问题
  • 修复 iOS 蓝牙发现设备误报"请授予蓝牙权限"(Android 权限检查在 iOS 上不适用)
  • 优化 Wi-Fi SSID 获取位置权限被永久拒绝时自动跳转设置页
  • 优化绑定首页图标匹配各功能语义
  • 完善 README 文档,翻译为英文版本
1
likes
85
points
136
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Flutter Plugin SDK named smart_device_core

Homepage

License

unknown (license)

Dependencies

flutter, json_annotation, plugin_platform_interface, uuid

More

Packages that depend on smart_device_core

Packages that implement smart_device_core