thingsboard 手机APP应用

步骤 1.准备开发环境

Flutter ThingsBoard 移动应用程序需要 2.12.0 及以上版本的 Flutter SDK。 请按照这些说明设置 Flutter SDK。 为了获得更好的体验,我们建议按照这些说明设置编辑器。

Flutter ThingsBoard 移动应用程序由 ThingsBoard 平台从 3.4.0 版本开始提供服务。 您需要启动并运行 ThingsBoard 服务器。最简单的方法是使用 Live Demo。 另一种选择是使用 Installation Guide 安装 ThingsBoard。

步骤 2。获取应用源代码

Flutter ThingsBoard 移动应用程序兼容性表

根据 ThingsBoard 的版本确定 Flutter ThingsBoard 移动应用程序的版本。

ThingsBoard 版本 Flutter ThingsBoard 移动应用程序 Dart ThingsBoard 客户端
3.9.0 1.5.0 3.0.0
3.8.1 1.4.0 2.0.0
3.8.0+ 1.3.0 1.3.0
3.6.3+ 1.1.0 1.1.0
3.6.2+ 1.0.8 1.0.8
3.6.0+ 1.0.7 1.0.7
3.5.0+ 1.0.6 1.0.6
3.4.2+ 1.0.4 1.0.4
3.4.0+ 1.0.3 1.0.3

你可以从 github 仓库克隆 Flutter ThingsBoard 移动应用程序源代码:

git clone -b release/1.5.0 https://github.com/thingsboard/flutter_thingsboard_app.git

步骤 3。配置 ThingsBoard API 端点

在编辑器/IDE 中打开flutter_thingsboard_app项目。编辑 lib/constants/app_constants.dart

 1)配置端口
  •       如果是 Live Demo,请将其设置为 。https://demo.thingsboard.
abstract class ThingsboardAppConstants { 
static const thingsBoardApiEndpoint = 'https://demo.thingsboard.io'; 
... 
}

使用实际连接的以太网地址

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

三阶码叟

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值