Questions tagged [google-fit]

Google Fit is an open platform that lets users control their fitness data. Use this tag for questions about programming apps that interface with Google Fit or use any of its APIs or SDKs. General end-user support is off-topic.

Filter by
Sorted by
Tagged with
1 vote
0 answers
14 views

Steps counter using Google Fit in react native

I'm using react-native-google-fit library to fetch user steps in react native it's working fine but I have a question why it's not work if user have not installed google fit app in its device it only ...
Muhammad Bilal's user avatar
0 votes
0 answers
19 views

Authorization function from the Fit on FHIR project

I have been trying to get this Microsoft Fit on FHIR project to work, and I have deployed it successfully, but I really can't figure out what configuration I need to set. There is this guide on how to ...
Tabonx's user avatar
  • 91
-1 votes
0 answers
34 views

Integrating Google Health Connect with .NET MAUI to Fetch Health Data [closed]

I am working on a .NET MAUI project and I'm looking to integrate Google Health Connect to fetch health-related data. I've searched extensively but haven't found relevant sources or documentation on ...
Saurabh Mishra's user avatar
0 votes
0 answers
68 views

Inquiry Regarding CASA Verification Process for my flutter Application

We have used Google Fit API in our Flutter app for collecting user steps data. We have used the "health" package and during the development phase, there was an option to add test accounts ...
Asif Ali Azim's user avatar
0 votes
1 answer
9 views

Add Nutrition Data response - invalidArgument "Mismatched value count"

I am working with the Google Fit API to add nutrition data and following their Add Nutrition Data Guide. I'm making a PATCH request with the following payload: { "minStartTimeNs": ...
Matt McCormick's user avatar
0 votes
0 answers
36 views

"This App is blocked" even after getting verified from Google for restricted scope APIs in react-native

I have recently got verified from Google for Google fit android APIs to read and write activity, But we are still getting that "This App is Blocked" alert while accessing the APIs, We have ...
akkala sathish kumar reddy's user avatar
0 votes
0 answers
44 views

Supported API Levels for Android Health Connect

I have a question about Health Connect. The official Android documentation states the following https://developer.android.com/health-and-fitness/guides/health-connect/develop/get-started Health ...
Fushihara's user avatar
  • 329
0 votes
0 answers
81 views

Getting data from Google Fit to Google Sheets

I am trying to merge all my fitness and health data a google sheet. I have achived getting everything in to the Google Fit app (activites, steps, weight, sleep, heart rate, calories expendede, ...
Kjetil Nygård's user avatar
0 votes
0 answers
18 views

Android App - Exception while trying to access Google Fit API - The user must be signed in to make this API call

In my Android application , I'm unable to login through Gmail account. Exception while trying to access Google Fit API - The user must be signed in to make this API call.
Vishal P's user avatar
0 votes
0 answers
14 views

How to differentiate b/w manual and sensor recorded steps data in REST API?

This is how my request looks like : URL: https://www.googleapis.com/fitness/v1/users/me/dataset:aggregate { "aggregateBy": [ { "dataTypeName": "com....
Bhanu Gogia's user avatar
0 votes
0 answers
36 views

What is the limit on the number of days I could use to do aggregated data fetch from google fit history api

I am fetching aggregated data (24hr/1 day buckets) from google fit. I am looking to find the limit on max numbers of days i could use to fetch aggregated data in a single history api call. This post ...
praveen_85's user avatar
0 votes
0 answers
11 views

Where can I visualize the "description" field when inserting a session using the REST API in the Google Fit App?

Where can I visualize the "description" field when inserting a session using the REST API in the Google Fit App? Using the example provided by Google { "id": "someSessionId&...
Rafael de Pablo's user avatar
0 votes
0 answers
31 views

Verification of the Firebase Domains

I'm seeing the 'Pending developer action' warning when I go to the OAuth consent screen of my project. Please see the details of the warning that I'm seeing below. Comply with domain verification ...
Serdar Büyükkanlı's user avatar
0 votes
0 answers
16 views

How can we read other UserIds Health Data from Google Fit API

With Google fit API how do we read Health and Location Data of other users? GET https://www.googleapis.com/fitness/v1/users/{userId}/dataSources/{dataSourceId}/datasets/{datasetId} So how can we ...
omar barlas's user avatar
0 votes
0 answers
26 views

Can Google Fit record data and send API calls when my app is closed?

Can Google Fit record data and send API calls when the data is recorded even when my app is closed? I have tried searching but no luck. It seems that I can use the Google Fit recording API but it ...
Lawrence's user avatar
0 votes
0 answers
47 views

Is it possible to collect Apple Health/Google Fit data when app is backgrounded or killed?

We have an app where challenges are implemented (Get 5k steps, etc.) that gets data from Apple Health/Google Fit. Is it possible for the app to collect health data even when backgrounded or killed, ...
Lawrence's user avatar
0 votes
0 answers
6 views

Delay in getting activity data

Help me solving this issue: Use case: User uses GFit Application to walk and complete 10K steps every day. After completing 10K steps user open our Active Health Application. We refer to Fitness....
Muthu Nadar's user avatar
0 votes
0 answers
16 views

how to read vitals info, like body temperature, blood pressure in my python web-app

I am able to read heartrate, but facing problem reading body temp, and blood pressure, api_url = 'https://www.googleapis.com/fitness/v1/users/me/derived:com.google.heart_rate.bpm:com.google....
Aniket Ghate's user avatar
0 votes
0 answers
85 views

Filter HealthConnect activity source

I use HealthConnect to get data about user steps over a certain period of time. For more security, I filter the activity source using the data originFilter field in AggregateRequest. Thus, the data ...
Rasul Mingazov's user avatar
0 votes
1 answer
69 views

Is there any way to count the stairs climbed up with a smartphone?

I am working on a delivery app that the company charges clients based on the number of stairs that the delivery agent has to climb. It's probable that the agent cheats and collects the stair fee in ...
Wahidullah Shadab's user avatar
0 votes
0 answers
109 views

Sync Google Fit to Samsung Health using health connect

i was trying to sync the record from google fit to samsung health using the google health connect. what i understand that i should be able to upload my health records from google fit to samsung health ...
winter tan's user avatar
0 votes
0 answers
70 views

Google OAuth verification process is not clear

During Google OAuth verification process, Google requires some actions, that are not clear, since only links have been provided with general content as shown below: Comply with Limited Use ...
sDev's user avatar
  • 11
0 votes
0 answers
61 views

Is there a good way to get the daily step count in real-time on an Android smartphone?

I was trying to get the daily step count using the Google Fit API. However, as Fitness.getHistoryClient has been deprecated, I had to look for another method. On https://developers.google.com/android/...
cook's user avatar
  • 1
0 votes
0 answers
23 views

Google fit api returning empty bucket while fetching last week data

I am trying to fetch step count data of last week or last 7 days. I am getting the empty list of bucket which holds the data. //Check how many steps were walked and recorded in the last 7 days ...
Aniket Dhanrao's user avatar
1 vote
1 answer
499 views

Retrieve step count and sleep data for a flutter based project on Android and iOS

I'm working on an application in health & fitness space and one of the requirement is to retrieve activities data (step count and sleep data to begin with) from wearables. My understanding is that ...
Rajath's user avatar
  • 102
0 votes
0 answers
85 views

When the user enters step count that's less than the auto detected steps app is showing sum of both and called both entries as non user entered

When the user enters step count that's less than the auto detected steps app is showing sum of both and called both entries as non user entered, when fetching steps using Android SDK e.g auto detected ...
Ozoned Digital's user avatar
0 votes
1 answer
34 views

Google Fit API returns no distance for biking activity

Version: implementation "com.google.android.gms:play-services-fitness:21.1.0" Client definition: GoogleSignInOptions.Builder(GoogleSignInOptions.DEFAULT_SIGN_IN) .requestEmail() ...
nKognito's user avatar
  • 6,319
1 vote
1 answer
96 views

Is there any way to get calories consumed data from Google Fit on Android and Health on iOS using Flutter?

I'm using the Health package for Flutter and can get steps data from both devices but there doesn't appear to be a way to get calories consumed. Is there any way to get the calories consumed data from ...
AndyC's user avatar
  • 115
0 votes
1 answer
114 views

Google Fit Api: Move Minutes Count

I am working with google api to export my Google Fit data to a Google Sheet. I have managed to get the Step count, calories, distance and heart points data exported correctly. However, I am not able ...
THORNADOR's user avatar
0 votes
1 answer
41 views

R httr package to point external browser

I have a script that request Google authentication for GoogleFit API usint httr package: library(httr) library(RGoogleFit) google_client <- gargle::gargle_oauth_client_from_json("...
Lev's user avatar
  • 757
0 votes
1 answer
301 views

How to read activity GPS track from Health Connect?

I'm building a Kotlin project in Android Studio and having troubles grabbing GPS data from Health Connect. I went for a walk, synced my FitBit to Health Connect, and now I'd like to grab the GPS Track ...
beebopbogo's user avatar
0 votes
1 answer
159 views

Access blood pressure data from Google fit rest API

I am using the Google Fit REST API to retrieve blood pressure data from the user's Google Fit account. I am able to successfully make a request to the API endpoint https://www.googleapis.com/fitness/...
abhinav mishra's user avatar
0 votes
0 answers
9 views

Acivity monitoring and position settings not retained

I am a final user of the Fit app, but support for it is maintained here. I have a problem on my Pixel 7a: even if I turn on Activity monitoring and position option in app settings, they get off again ...
Matteo Vannucchi's user avatar
0 votes
2 answers
394 views

Refresh token with Google API

I am working in an app which continuously extracts some information related to steps done from some users from GoogleFit API. I am using the httr package for authentication: library(httr) library(...
Lev's user avatar
  • 757
0 votes
1 answer
197 views

Google Fit does not show the data sent by our app through the Android SDK

When try send data to Google Fit trougth SDK Android (not API), The data not appear inmediatly in Google Fit, they are steps that I do: I getting data from our API (this sessions are gets from our ...
FABiO's user avatar
  • 92
0 votes
0 answers
33 views

Retrieve sleep data for users not using GoogleFit in React Native

I am making a react-native app where I need to retrieve user's sleep hours and send them to server. Now, I can use GoogleFit API but it only returns the results if and only if the user uses GoogleFit ...
Sahan Mondal's user avatar
2 votes
0 answers
55 views

Google fit Api Response delay

I'm trying to fetch from Google Fit to integrate with my react native app, however both the steps and activities are not shown immediately and are only available after a huge delay (30 min to couple ...
Mohammed sadiq's user avatar
0 votes
1 answer
54 views

Language problem - Google Fitness API Scopes

I´m creating an app which needs user authorization to access to some private health information about Google Fit app. When adding the scopes in the OAuth consent screen I can see some Fit scopes are ...
KosTas's user avatar
  • 1
0 votes
0 answers
97 views

Google fit dataset extraction

I have extracted google fit data sources. I have read the documentation, I need to get this format to get a response dataset of each datasource from the rest API - https://www.googleapis.com/fitness/...
Dip Chakraborty's user avatar
0 votes
1 answer
367 views

health connect still provides data where there should be no data

i try to collecting data from 1 april 2023 to 30 april 2023, today is 20 april 2023 but health connect still provides data for > 20 april 2023 like this i don't know where the data is coming from, ...
Rizki Rakasiwi's user avatar
0 votes
0 answers
122 views

Read heart rate data from wear os 2 watch to android app on phone

I have a Fossil Q Explorist HR watch that runs on wear os 2 and have a moto g60 phone. The watch and phone are connected via the Wear OS app installed on phone. I need to write an application using ...
Deepika Baskar's user avatar
0 votes
0 answers
150 views

How to use the Google Fit API in Swift

What are the steps needed to include the Google Fit API inside an Xcode project using swift. I already used the documentation given by Google but it is very complex to understand everything right. ...
DanLand's user avatar
  • 45
0 votes
0 answers
108 views

How to get vo2_max and location in wear os using health services

I used health service to get vo2_max and location by starting an exercise. suspend fun startExercise(healthServicesClient: ExerciseClient) { val dataTypes = setOf( HEART_RATE_BPM, CALORIES_TOTAL, ...
neeraj s's user avatar
0 votes
0 answers
75 views

Sessions and datapoints are being returned null from SessionsClient of google fit

I am trying to read sleep data from Google fit but always receiving empty/null sessions and data points. I took reference from multiple resources but nothing helped me. Below is my code snippet to ...
Eswar's user avatar
  • 199
0 votes
0 answers
164 views

How to get blood oxygen and blood pressure in wear os

how to get blood oxygen and blood pressure in wear os using sensor like getting step count value. By using health services to get these data, how to access sensors. And I'm also trying it in flutter. ...
neeraj s's user avatar
0 votes
0 answers
290 views

Flutter health package is not returning real time data on ios,i have to reopen the app or have to switch between my app and ios health app for update

I am calling health package in a timer each second but it is not updating the steps value fetched from ios health kit i have to either reopen the app or switch between ios health app and my app Timer....
Akash Verma's user avatar
0 votes
0 answers
104 views

GOOGLE FIT API for steps not rendering the value

I am trying to fetch data from My GOOGLE fit app using rest API.I am not able to fetch the steps values as recorded in the app. when fetching with the below sample request no values are populated. ...
Chitra P's user avatar
0 votes
0 answers
183 views

Google Fit Aggregate API for Sleep returns only awake sleep stage

Google Fit Aggregate API for Sleep data returns only the awake time, which is sleep_stage=1. but the google fit app shows the sleep duration correctly, but when fetched from the api it returns only ...
Sathish Kumar's user avatar
0 votes
1 answer
130 views

Google fit Authorization cancelled in internal test build

I have released my app to internal testing with google fit implementation and google fit fails to authorize user in app installed from internal testing. However, it works when same apk file is ...
Sawal Timsina's user avatar
0 votes
0 answers
156 views

Google Fit API - com.google.android.gms.common.api.ApiException 5015

We are struggling to integrate Google Fit on native Android devices. We are able to authenticate the user via OAuth popup provided by capacitor-plugin-health but we run into the following error when ...
Brandon Bohach's user avatar

1
2 3 4 5
20