-
Notifications
You must be signed in to change notification settings - Fork 20
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
base: master
Are you sure you want to change the base?
Feature/polar sdk 5.16.0 #52
Conversation
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. |
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. |
There was a problem hiding this 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); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
testMisc(identifier, isVerity: true); | |
testMisc(identifier, supportsLedConfig: true); |
); | ||
testStreaming( | ||
identifier, | ||
features: { |
There was a problem hiding this comment.
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'; |
There was a problem hiding this comment.
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'; |
There was a problem hiding this comment.
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.
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. |
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.