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

FEATURE_POLAR_SLEEP_DATA feature availability check is based on isActivityDataFeatureAvailable #531

Open
2 of 10 tasks
korzonkiee opened this issue Dec 19, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@korzonkiee
Copy link
Contributor

Platform on which you observed the bug:

  • Android
  • iOS
  • Other
  • Platform is not relevant for this bug

Device on which you observed the bug:

  • Polar OH1
  • Polar Verity Sense
  • Polar H10
  • Polar H9
  • Other
  • Device is not relevant for this bug

Describe the bug
Looking at the implementation of polar sleep feature availability, I noticed that it uses isActivityDataFeatureAvailable method, see here. Is it intentional?

@korzonkiee korzonkiee added the bug Something isn't working label Dec 19, 2024
@korzonkiee korzonkiee changed the title FEATURE_POLAR_SLEEP_DATA check is based on isActivityDataFeatureAvailable FEATURE_POLAR_SLEEP_DATA feature availability check is based on isActivityDataFeatureAvailable Dec 19, 2024
@orestesgaolin
Copy link
Contributor

Worth noting that iOS implementation does not expose the sleep feature availability as of 5.10.0

@rkangast
Copy link
Contributor

Hi,

Yes, that is intentional. The ability of a device to produce sleep and activity data is a hand in hand for the devices defined in BlePolarDeviceCapabilitiesUtility.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants