Comments (9)
@StasDoskalenko have the same problem. I checked my adb logs and noticed that the DataType.TYPE_STEP_COUNT_CUMULATIVE is never triggered thus never responding. It works just fine when I change he datatype to say 'TYPE_STEP_COUNT_DELTA' .
from react-native-google-fit.
@StasDoskalenko I called observeSteps after onAuthorize success but not working.
Need a good example to show it working. I have tried a lot of things already.
from react-native-google-fit.
@StasDoskalenko how about creating a sample where values similar to google Fit app are retrieved and shown. UI can be skipped. But handling stuff such as authorization, observesteps etc on all android devices. Log error if sensors not present etc.
from react-native-google-fit.
@marcoautiero try to call observeSteps after onAuthorize
succeed
from react-native-google-fit.
Guys I'm planning to create a good example app. Any suggestions?
from react-native-google-fit.
@jerinjohnk good idea!
from react-native-google-fit.
I have the same problem :
step counter not work!
from react-native-google-fit.
@StasDoskalenko Do you plan to create example app?
from react-native-google-fit.
observeSteps does not always work, the function is not called
and sometimes it returns weird data
like this (5163 number)
01-31 21:07:36.896 31399-31399/com.test I/StepCounter: Detected DataPoint value: 5163
01-31 21:08:49.116 31399-31399/com.test I/StepCounter: Detected DataPoint value: 5165
01-31 21:08:49.116 31399-31399/com.test I/StepCounter: Detected DataPoint value: 5165
01-31 21:08:49.116 31399-31399/com.test I/StepCounter: Detected DataPoint value: 2
01-31 21:08:49.126 31399-31399/com.test I/StepCounter: Detected DataPoint value: 2
01-31 21:08:49.126 31399-31399/com.test I/StepCounter: Detected DataPoint value: 2
01-31 21:08:49.126 31399-31399/com.test I/StepCounter: Detected DataPoint value: 5165
01-31 21:08:58.256 31399-31399/com.test I/StepCounter: Detected DataPoint value: 5168
01-31 21:08:58.276 31399-31399/com.test I/StepCounter: Detected DataPoint value: 5168
01-31 21:08:58.276 31399-31399/com.test I/StepCounter: Detected DataPoint value: 3
01-31 21:08:58.276 31399-31399/com.test I/StepCounter: Detected DataPoint value: 3
01-31 21:08:58.276 31399-31399/com.test I/StepCounter: Detected DataPoint value: 3
01-31 21:08:58.276 31399-31399/com.test I/StepCounter: Detected DataPoint value: 5168
01-31 21:09:02.826 31399-31399/com.test I/StepCounter: Detected DataPoint value: 5171
01-31 21:09:02.826 31399-31399/com.test I/StepCounter: Detected DataPoint value: 5171
01-31 21:09:02.826 31399-31399/com.test I/StepCounter: Detected DataPoint value: 3
01-31 21:09:02.836 31399-31399/com.test I/StepCounter: Detected DataPoint value: 3
01-31 21:09:02.836 31399-31399/com.test I/StepCounter: Detected DataPoint value: 3
01-31 21:09:02.836 31399-31399/com.test I/StepCounter: Detected DataPoint value: 5171
from react-native-google-fit.
Related Issues (20)
- GoogleFit.getXXXSamples(options) returns with no data HOT 1
- Using new GoogleSignInClient
- I want to retrieve information about connected users.
- How to get Read Sleep Data by sessions of type sleep as Document HOT 4
- GoogleFit.disconnect() not working
- App crash on bundleRelease - java.lang.IllegalStateException
- How to allow access to our react native mobile app without mandatory Google OAuth sign in blocking users progressing (is it possible to easily skip)? HOT 3
- Not working in release or debug in .aab extention HOT 12
- Firebase Error: Attempt to invoke virtual method 'java.lang.String java.lang.String.to LowerCase()'on a null object reference HOT 1
- Missing source information for some datatypes
- Google Fit Sync working in prod apk but not in Playstore build (With firebase) HOT 1
- Could not find method compile() for arguments
- Distance missing from Save workout HOT 1
- How could I get the steps data from Headless?
- AUTH_DENIED Cannot read property 'isAuthorized' of null
- The API is not working anymore, is there a plan to implement Health Connect? HOT 1
- Health Connect HOT 1
- Need redirect url scheme of google fit HOT 1
- Invalid End Time when using new Date().toISOString() HOT 1
- Getting error when calling getDailyStepCountSamples HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-google-fit.