QuantumPhysique / trale

trale – a simple body weight diary app respecting your privacy
GNU Affero General Public License v3.0
79 stars 9 forks source link

Google Fit #11

Open alabotski opened 10 months ago

alabotski commented 10 months ago

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

braniii commented 10 months ago

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?

alabotski commented 10 months ago

@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

braniii commented 10 months ago

@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.

pablo03v commented 9 months ago

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

braniii commented 9 months ago

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?