Skip to content
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

Getting samples of data are not working #155

Open
Vladosk1n opened this issue Apr 12, 2020 · 3 comments
Open

Getting samples of data are not working #155

Vladosk1n opened this issue Apr 12, 2020 · 3 comments

Comments

@Vladosk1n
Copy link

Hi everyone, since I am seeing it a lot here, I want to ask if anyone knows why methods get[something]Samples are not working?

Is there is any general issue for all of them? Tried to get SleepSamples and WalkingRunningDistanceSample, both return empty array every time. Looks like it's the same for all other methods for getting samples.

It seems like one issue occurs everywhere, have anyone tried to dig why that happens?

@Vladosk1n Vladosk1n changed the title getSamplesAreNotWorking Getting samples of data are not working Apr 12, 2020
@janczizikow
Copy link

I was just digging into why getDailyStepCountSamples was always returning an empty array for me. By default the library excludes manually added data (at least for getDailyStepCountSamples). After passing includeManuallyAdded: true flag to the options object it works as expected. Not sure if you're with manually added data, but could be something worth checking.

@calebmackdavenport
Copy link

I was just digging into why getDailyStepCountSamples was always returning an empty array for me. By default the library excludes manually added data (at least for getDailyStepCountSamples). After passing includeManuallyAdded: true flag to the options object it works as expected. Not sure if you're with manually added data, but could be something worth checking.

Nice find

@jamespearson
Copy link

jamespearson commented Jun 13, 2020

includeManuallyAdded: true

@jacquerie - You are the hero I needed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants