Skip to content

Commit

Permalink
Merge pull request #461 from RADAR-base/fix-polar
Browse files Browse the repository at this point in the history
Fix polar plugin
  • Loading branch information
yatharthranjan authored Sep 9, 2024
2 parents 318103d + 6c9c0e6 commit 02744c8
Show file tree
Hide file tree
Showing 5 changed files with 299 additions and 146 deletions.
4 changes: 2 additions & 2 deletions gradle/android.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
android {
compileSdkVersion 33
buildToolsVersion '32.0.0'
compileSdk 34
buildToolsVersion '34.0.0'

defaultConfig {
minSdkVersion 26
Expand Down
17 changes: 17 additions & 0 deletions plugins/radar-android-polar/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,20 @@ Add the provider `.polar.PolarProvider` to the Firebase Remote Config `plugins`
This plugin was build using the [POLAR BLE SDK][1].

[1]: https://github.com/polarofficial/polar-ble-sdk


## Information

On the **Polar Vantage V3**, streaming data is only possible when a training session is started on the watch (see https://github.com/polarofficial/polar-ble-sdk/issues/456).

Here are the instructions how to start data streaming:

1. Have a phone running the app with Polar SDK paired with the watch.
2. The sensor data sharing must be enabled for the phone in the watch pairing menu (General settings/Pair and sync/Paired devices/SDK/Share).
3. Go to the 'Start training' -menu in watch and choose the desired sport profile.
4. On phone running the app with Polar SDK connect phone with watch.
5. Start the recording in the app.
6. On the watch start the training recording or stay in 'Start training' -menu.

Note! When streaming data we would recommend removing Polar Flow app from the mobile if it was installed. All other phones or Polar devices not used for streaming should be shut down or at least Bluetooth turned off.
Also after each streaming session you might need to go back to the watch mode before starting a new exercise & streaming session.
Loading

0 comments on commit 02744c8

Please sign in to comment.