首页 > 解决方案 > 如何在 Flutter 中实现 Google fitkit?

问题描述

我在颤振中实现 Google Fit 套件,我在应用程序文件夹中使用客户端 ID 并使用里面的权限,app -> build但是当我打开页面时它会请求权限,当我授予权限时应用程序崩溃。

读取功能

护目镜 API 的权限

FIT KIT 封装并读取所有功能

标签: android-studioflutterdartgoogle-fit

解决方案


您可以使用fit_fit插件从 google fit 获取健身数据,这更容易。

https://pub.dev/packages/fit_kit


推荐阅读