Open Rexios80 opened 1 year ago
Hi, getAvailableOnlineStreamDataTypes
is part of the Polar Online Streaming API which is only supported by Verity Sense, H10 and OH1 devices. But I think that the thrown error could be improved to reveal the actual cause.
That makes sense, except heart rate is part of streaming now which is why I expect that call to not fail on any device that supports heart rate streaming. I would expect getAvailableOnlineStreamDataTypes
to return heart rate on every Polar device. I suppose I can just assume that heart rate is available, but it's still weird.
Also, sdkFeatureReady
is returning onlineStreaming
when connected to the H9. I'm waiting for that to even make the getAvailableOnlineStreamDataTypes
call
@samulimaa Is a fix for this planned?
@samulimaa This seems like it would be trivial to fix. Should we except a solution for this soon or work around it?
@palmqvisti Sorry for the ping but I see you have recent activity in this repo so you got picked. Can you or someone else please either provide a status update or close this issue as not planned?
Platform on which you observed the bug:
Device on which you observed the bug:
Describe the bug Getting
PolarBleSdk.PolarErrors.notificationNotEnabled
when callinggetAvailableOnlineStreamDataTypes
This is confirmed working for the H10 and Verity
How to Reproduce Call
getAvailableOnlineStreamDataTypes
for a Polar H9Expected behavior It works like with the H10 and Verity
Screenshots and logs
Additional Information Not sure how useful this is, but here's the code for the plugin: https://github.com/Rexios80/polar The example app in that repo can reproduce the issue
This is with SDK 5.0.2