Giter Club home page Giter Club logo

Comments (9)

nojas01 avatar nojas01 commented on July 29, 2024 2

@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' .
screenshot 2019-01-25 at 15 47 51

from react-native-google-fit.

feat7 avatar feat7 commented on July 29, 2024 1

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

jerinjohnk avatar jerinjohnk commented on July 29, 2024 1

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

StasDoskalenko avatar StasDoskalenko commented on July 29, 2024

@marcoautiero try to call observeSteps after onAuthorize succeed

from react-native-google-fit.

StasDoskalenko avatar StasDoskalenko commented on July 29, 2024

Guys I'm planning to create a good example app. Any suggestions?

from react-native-google-fit.

StasDoskalenko avatar StasDoskalenko commented on July 29, 2024

@jerinjohnk good idea!

from react-native-google-fit.

milad1367 avatar milad1367 commented on July 29, 2024

I have the same problem :
step counter not work!
Screen Shot 2019-08-11 at 10 46 50 AM

from react-native-google-fit.

Karpengold avatar Karpengold commented on July 29, 2024

@StasDoskalenko Do you plan to create example app?

from react-native-google-fit.

hayait599 avatar hayait599 commented on July 29, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.