-
Notifications
You must be signed in to change notification settings - Fork 210
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
observeSteps() not working #59
Comments
@marcoautiero try to call observeSteps after |
@StasDoskalenko I called observeSteps after onAuthorize success but not working. |
@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' . |
Guys I'm planning to create a good example app. Any suggestions? |
@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. |
@jerinjohnk good idea! |
@StasDoskalenko Do you plan to create example app? |
observeSteps does not always work, the function is not called
|
This is the code in the main screen of my RN app
I receive the log from
getDailyStepCountSamples()
butobserveSteps()
doesn't give signs of life.The text was updated successfully, but these errors were encountered: