QuantumPhysique/trale

Google Fit

Opened this issue · 5 comments

Hi can you add support sync with Google Fit?
I my weight changes in Google Fit, app shall change my weight itself

Hi @alabotski, I have never tried Google fit and I am not sure what you exactly propose. Are you asking that the app trale is syncing the weight measurements directly from google fit, that you do not need to enter it twice?

@braniii
Hi. Yes you are right!

For example
I have Mi Smart Scale
They is synchronized with Zepp Life
Then Zepp Life send info to Google Fit

And then for example Water Drink Reminder
Read all new weight data and plots a graph

Screenshot_20240106-172858
Screenshot_20240106-172907

As a result, I don’t apply weight with my hands at all =)

PS Sorry for English

@alabotski I did some research and found a package that is able to connect flutter apps to the google fit api.

https://pub.dev/packages/health

However, it requires an internet permission. My concern is, that an app storing sensitive data should not be able to access the internet. A possible way out would be to create a new flavour which includes the google fit api. Due to our limited resources, this will sadly not happen anytime soon.

I would highly suggest health connect as no account or internet connection is required for that

I would highly suggest health connect as no account or internet connection is required for that

Thank you for this hint. Are you referring to the package flutter health connect or the android api?