-
-
Notifications
You must be signed in to change notification settings - Fork 38
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
No new data on subsequent queries #43
Comments
Here is an example app that shows the problem: The are two ways to get new portion of data:
Additional note: I'm using Apple Watch 7 as a heart beat sensor. |
Forgot to mention: in order to get data one have to launch workout session. It should be done manually, since the
throws exception
|
Hi @Parfyonator Thank you for the raising the issue. So I wrapped your code in a simple loop, and created and called a query 10 times. It shows me always the same output as I expected (I just took the time interval be longer, because it is obvious that you can get less data, if your time interval is only two minutes and every time you recreate a Regarding the |
Hi @VictorKachalov Thank you for your feedback. I guess you've misunderstood me: Please refer to my simple example app provided in the second comment. I implemented there the logic I hope to see working. Basically I want to get heart rate data in real-time (every second or few). I'm not sure if this task with real-time heart rate readings may be accomplished without a companion app on Apple Watch, so I ended up writing one in Swift that streams heartbeat data from apple watch to my flutter app. |
Describe the bug
The fresh and up-to-date data is returned only on the very first query. The subsequent queries return the subset of the very first query: as the time window moves forward the less and less data is left in the returned list.
To Reproduce
Steps to reproduce the behavior:
Eventually the list becomes empty.
Expected behavior
Get up-to-date data on every query (as it happens on the very first query).
Desktop (please complete the following information):
Smartphone (please complete the following information):
The text was updated successfully, but these errors were encountered: