Questions tagged [google-fit-sdk]

An open platform that lets users control their fitness data. Google Fit lets developers build smarter apps and manufacturers focus on creating amazing devices.

About

Google Fit's open APIs allow any connected apps and devices to seamlessly share data, all of which gets sucked up by Google Fit.

Links

Official Page

263 questions
1
vote
0 answers

Google Fit REST API is not reporting move minutes correctly from Apple Health for users with Apple Watch

We are retrieving our user's move minutes from Google Fit using the following standard PHP code and cURL: $fields = array( 'startTimeMillis'=> strtotime($start_date) * 1000, 'endTimeMillis'=> strtotime($end_date) * 1000, …
1
vote
1 answer

react-native-google-fit package can't be authorized

I am trying to get GoogleFit working on my android device and after i followed steps from https://developers.google.com/fit/android/get-api-key when i try to call GoogleFit.authorize() method all i get is : { "message": "Authorization cancelled", …
Petar Petrovic
  • 163
  • 1
  • 1
  • 7
1
vote
1 answer

How to use Google Fit API's RecordingClient for background collection of DataType.TYPE_LOCATION_SAMPLE?

I proceeded as per Google Fit examples and subscribed to the RecordingClient for DataType.TYPE_LOCATION_SAMPLE with the following code (after requesting all needed permissions): Fitness.getRecordingClient(this,…
Franco
  • 669
  • 2
  • 8
  • 23
1
vote
1 answer

Reading accurate sleeping data from Google Fit API

I am currently developing an app that will get Fitness History Data from Google Fit. Getting the steps and weight are okay but getting the sleep data is a bit of a problem. I want to get the accurate start and end time but the only way to get that…
carms
  • 11
  • 1
1
vote
0 answers

SIGN_IN_FAILED (12500) on request access to Google Fitness

Completely stuck at requesting the access to the FitnessAPI. There are many workarounds on this but none of them resolve the issue(at least some I could find) I have obtained OAuth 2.0 credentials at Google Console API (SHA1 and package name are…
danilabagroff
  • 602
  • 1
  • 7
  • 23
1
vote
0 answers

Did anything changed in google fit api. My AppScripts code is not working

it's throwing this error: TypeError: Cannot read property "dataset" from undefined. Earlier dataset is recognizable and starting October 28th, I am getting the above error. Background: I am using this dataset from google fit api for collecting my…
vullankib
  • 35
  • 1
  • 8
1
vote
0 answers

Does Google Fit API only works with gmail account?

I'm trying to use Fitness API services on my app and it was running well so far. I can obtain any data that I need from Google Fit until it wont work anymore when I'm using corporate account outside gmail, for example account@biz-corporate.com. So…
1
vote
0 answers

Connecting to Google Fit - New OAuth Consent Screen Error

An Android application is trying to connect to Google Fit to upload some data. New OAuth Certificates have recently been added in the Google API Console to handle each flavor of our app since each flavor has a different package name. Users are able…
Karringgton
  • 207
  • 1
  • 3
  • 11
1
vote
0 answers

Google Fit - Creating and sending data to a data Source for step counter using Recording API

So I'm developing a fitness application that tracks users steps and decided to go with Google Fit APIs as their data collection uses subscriptions and promises highly optimised battery usage. I am using Recording API to collect user data. However, I…
1
vote
0 answers

Can't read google fit data on multiple devices

Currently I'm working with google fit History API on Android for getting the steps count. I have a problem when developing my application on multiple devices, I will summary it as below. Device A has 1000 steps today (this device have google fit…
Hien Tran
  • 11
  • 4
1
vote
2 answers

Using the GoogleFit REST API timezone is ignored when making a request for aggregate data bucketed by time period

I combine these data sources: $steps = static::getDataByAggregate('derived:com.google.step_count.delta:com.google.android.gms:estimated_steps', 'com.google.step_count.delta', $period['Start'], $period['End']); $distance =…
1
vote
2 answers

Are Heart Points available in the REST API?

Are Heart Points available in the REST API for reading? IF so, how do we get to them? I'm not seeing the documentation data. Thanks. Eric
1
vote
1 answer

Google Fit: activity minutes vs. move minutes

I get "activity minutes" with final DataReadRequest readRequest = new DataReadRequest.Builder() .aggregate(DataType.TYPE_ACTIVITY_SEGMENT, DataType.AGGREGATE_ACTIVITY_SUMMARY) .bucketByTime(1, TimeUnit.DAYS) …
nst0022
  • 407
  • 2
  • 11
1
vote
2 answers

How to differentiate between manual added steps and sensor recorded steps in Google Fit Api

I am using Google Fit Api in my project to get user's daily steps. But the problem is, user can enter the steps manually by adding the activities. And when i retrieve the daily steps, Google Fit Api also returns the steps which were added manually.…
1
vote
1 answer

Google fit permission problems

I would like to get some technical help with the google fit rest Rest API. I am making an app that requires access to the location information and as a response for my request I am getting this json. { "access_token":…
Ricardo Garza V.
  • 899
  • 1
  • 11
  • 26