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 sdk 5.16.0 #52

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

HaveANiceDay33
Copy link

Upgrades to polar sdk 5.16.0, and fixes issue introduced by that update.

This is working with my Polar Verity in Android, but not IOS. There are no errors, but it seems like my Verity is not attempting to pair to my iPhone.

Was hoping to get another set of eyes on this and see if that result is the same.

@Rexios80
Copy link
Owner

This works on my Verity on iOS. The Verity connection is kind of fragile. If you want to switch which device it's connected to most of the time you have to power cycle the sensor.

@Rexios80
Copy link
Owner

Rexios80 commented Mar 25, 2025

Yeah, the verity kinda sucks tbh. I just spent like an hour trying to figure out why it wasn't connecting and ended up having to spend 30 minutes factory resetting it and setting it up again.

@HaveANiceDay33 HaveANiceDay33 marked this pull request as ready for review March 27, 2025 18:18
Copy link
Owner

@Rexios80 Rexios80 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These test files need updated for any added functionality:

  • example/integration_test/h10_test.dart
  • example/integration_test/verity_test.dart
  • test/mock_test.dart

It would also be really helpful if you could create example/integration_test/360_test.dart to test functionality specific to the Polar 360, but that's not required to land this PR (but it will be required for the FTU PR)

},
);
testSdkMode(identifier);
testMisc(identifier, isVerity: true);
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
testMisc(identifier, isVerity: true);
testMisc(identifier, supportsLedConfig: true);

);
testStreaming(
identifier,
features: {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should test all available streaming features. Is this everything the 360 supports? Does the 360 not support location?

@@ -1,3 +1,5 @@
import 'dart:ffi';
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you add this intentionally?

@@ -1,5 +1,6 @@
import 'dart:async';
import 'dart:convert';
import 'dart:ffi';
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is this import for? This plugin shouldn't be using any FFIs.

@Rexios80
Copy link
Owner

Rexios80 commented Apr 1, 2025

This looks really close! Did you run the 360 test on both Android and iOS? I don't have a Polar 360 on hand so I cannot test it myself.

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

Successfully merging this pull request may close these issues.

2 participants