944 questions
0
votes
0
answers
60
views
Google Fit physical activity data, .../auth/fitness.activity.write
Google Fit physical activity data,
We request access to the Google Fit scope for writing activity data in order to record completed meditation sessions as part of the user’s health and wellness ...
0
votes
0
answers
25
views
Google Fit Consent Screen Not Showing After Migration from Xamarin Forms to .NET MAUI
Description:
We recently migrated our application from Xamarin Forms to .NET MAUI, and since then, the Google Fit consent screen is no longer visible during the authorization flow.
Previous State:
In ...
2
votes
1
answer
708
views
Flutter Health Plugin: Permission Not Granted When Reading Step Data
I am trying to access step data using Flutter's health plugin, but I keep encountering the issue where permissions are not granted, even though I have declared the necessary permissions in my ...
0
votes
0
answers
41
views
COUNT_TOTAL is getting null while getting steps from google fit using androidx.health.connect:connect-client:1.1.0-alpha07
I have used below method to get data from google fit app:
fun aggregateGroupByDuration(record: ReadableMap, promise: Promise) {
throwUnlessClientIsAvailable(promise) {
coroutineScope.launch {...
2
votes
0
answers
109
views
Google Fit not tracking recordingMethod
I use HealthConnect to retrieve user step data over a specified period. I now want to filter out automatically recorded steps by device from manually added steps. While Google Fit allows users to ...
0
votes
1
answer
315
views
How to get Google Fit steps via Health Connect
I am creating an Android app that uses the number of steps obtained from Googlefit.
Due to the discontinuation of the Googlefit API, I have changed the way I obtain the number of steps from Googlefit ...
1
vote
0
answers
198
views
Google Fit API - Health Connect | Smooth transition
I have an app that reads step data from the Google Fit APIs that are being deprecated in 2025, and am looking to make the transition to using Health Connect.
I can access Health Connect with no ...
0
votes
1
answer
527
views
How to Determine if Google Fit and Health Connect are Synced?
I have already synced my application with Health Connect.
Google Fit is synced with Health Connect (I can retrieve step count data correctly).
If I manually unsync Google Fit from Health Connect, the ...
1
vote
0
answers
194
views
How to retrieve sleep and cycle tracking data from Google Fit to our app?
I want to get sleep and cycle tracking data from Google Fit to my app. I am aware that the API is no longer in use and we need to use the Health Connect app. I have retrieved most of the data, but I ...
1
vote
1
answer
191
views
Google Fit Sdk throws error 403: access denied while log in
While users are trying to connect the app with Google fit API, they are getting a popup in which says:
Access blocked: app has not completed the Google Verification process
Error 403: access_denied.
...
2
votes
2
answers
420
views
Does Google OAuth no longer review Fit API Scope?
We are proving a service using the Google Fit API to our customers for 3 years,
but currently the service is not working because we did not request the necessary OAuth Scope change within the deadline....
1
vote
1
answer
63
views
How to port "com.google.android.gms.fitness.service.FitnessSensorService" to Google Health?
After deprecation of Google Fit APIs i'm wondering how to port a "com.google.android.gms.fitness.service.FitnessSensorService" to Google Health?
My use case is a third party BLE device ...
0
votes
1
answer
111
views
SHA-1 with google API
I'm trying to create an Android project and I'm having trouble finishing it due to an issue. Currently, within the project, I'm using Google authentication to concurrently utilize the Google Fit ...
6
votes
1
answer
2k
views
Replacement for Google Fit REST API with new Health Connect?
I have a website where my fitness stats can be publicly seen.
In order to achieve that, I've used the Google Fit REST API, but now I see that it's gonna be removed in 2025, stating you gotta migrate ...
0
votes
0
answers
57
views
Get data sleep duration from goole fite with Fitness API
`How do I calculate the duration of sleep I get from Google Fit.
this is an example of json from google fit the code
"session": [
{
"id": "healthkit-0B3E9A38-694F-...
1
vote
0
answers
693
views
Issue fetching workout data using health package in Flutter on Android
I am currently working on a Flutter application where I'm utilizing the health package (version 8.1.0) to fetch steps and workout data from the user's device.
The steps data retrieval works seamlessly,...
0
votes
1
answer
218
views
Unable to get steps on flutter app properly with google fit api
We are developing an application on flutter and using google fit api on it. App needs physical activity permission on devices but it doesn't work properly on android 14 version (OneUI 6.0) at Samsung ...
1
vote
0
answers
54
views
Integrating Google FIT API: Handling Multiple Scopes in Initial Authorization Request
I'm currently working on integrating the Google FIT API into my JavaScript application, and I'm encountering an issue when trying to include multiple scopes in the initial authorization request.
The ...
1
vote
0
answers
127
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 ...
0
votes
1
answer
827
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 ...
0
votes
1
answer
28
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": ...
0
votes
0
answers
106
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, ...
1
vote
0
answers
648
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 ...
0
votes
1
answer
481
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 ...
0
votes
0
answers
116
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 ...
0
votes
1
answer
1k
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/...
0
votes
1
answer
69
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
...
1
vote
1
answer
4k
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 ...
0
votes
1
answer
125
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()
...
1
vote
1
answer
559
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 ...
0
votes
1
answer
237
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 ...
0
votes
1
answer
81
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("...
0
votes
1
answer
1k
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 ...
0
votes
1
answer
427
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/...
0
votes
2
answers
826
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(...
0
votes
1
answer
368
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 ...
2
votes
0
answers
79
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 ...
0
votes
1
answer
75
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 ...
1
vote
1
answer
1k
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, ...
0
votes
0
answers
373
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. ...
0
votes
1
answer
327
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 ...
1
vote
0
answers
181
views
Do I need to grant location permissions to access historical Google Fit distance/miles data on Android?
I am building a React Native application and would like to use Google Fit's distance data to get users' data historically for their miles travelled every day after signing in with their Google account....
0
votes
1
answer
156
views
Google Fit verification team asks us to brand a toggle switch but how?
We have a flutter android app that uses Google Fit health data
The user has to toggle a switch in order to connect his Google Fit account
We submitted our app to the Google Fit verification process (...
0
votes
1
answer
97
views
Unique identifier of the activity that is read from the Google Fit?
I'm trying to find a way to get the UID or such for each activity record (historical data via Fit API for Android) that I read from Google Fit.
Is there any way to do it?
0
votes
1
answer
300
views
Python Skript to Read/Write Google Fit Data via REST API
I recently switch from an iOS Phone to Android. Now I have the problem that all my Apple Health data is not available on my new phone, because Google Fit only imports the 3 last days and all my ...
0
votes
1
answer
148
views
How to pull Respiratory Rate data from the Google Fit REST API
I am using the Google Fit REST API and want to get the respiratory rate. In the Google Fit app on Android, there is option to add Respiratory Rate. The API that I am using to fetch the data is:
GET /...
0
votes
0
answers
66
views
GoogleFit - HistoryClient daily step count data
I am using the historyclient of the googlefit. I am looking for the steps , calories and distance aggregated data per day for last 15 to 30 days .
However, I am getting inconsistent results every time ...
1
vote
2
answers
2k
views
Is it possible to add more scopes to NextAuth provider during session?
I am currently using NextAuth to signIn in my application, and want to add more scopes into it while the user is already signed in so I can use the Google Fit API.
I've been reading the documentation ...
1
vote
1
answer
1k
views
Google Fit deprecation, possible to replace android API with custom REST calls?
I have an android app that leverages the Google Fit APIs on android and today I found out that they are going to be deprecated.
See the official documentation here
In the page linked above they also ...
1
vote
1
answer
576
views
How do i implement google fit api in .net web app with user sign in?
I simply want to use google fit api to retrieve data of the signed in user(testing with two accounts).
But I don't understand how to get the authorization code/access token from the user.
Another ...