Skip to content
pubscout

polar

7.12.0, released 2 months ago by rexios.dev

Dart plugin wrapper for the Polar BLE SDK on Android and iOS

$ flutter pub add polar
Source repository

What it does

It acts as a bridge to the Polar BLE SDK, allowing Flutter applications to connect to Polar devices, manage features, and stream sensor data like HR, ECG, and ACC.

AI-written summary of version 7.12.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to connect and interact with Polar Bluetooth devices in a Flutter app
  • You want to stream biometric and motion data such as heart rate or ECG from Polar hardware

Skip it when

  • You are building an app that does not interact with Polar hardware
  • You need an official first-party SDK wrapper directly from Polar

Strengths

  • Provides direct access to Polar sensor streaming and device control
  • Supports multiple streams like HR, ECG, ACC, temperature, and pressure

Weaknesses

  • It is an unofficial community-maintained wrapper for the Polar SDK
  • Requires manual configuration of native Bluetooth permissions and specific iOS deployment targets

Setup

Kind
Plugin (native code)
Effort
Medium
Code generation
Yes (build_runner)
Direct dependencies
6

Requires adding Bluetooth permissions in AndroidManifest.xml, changing the iOS deployment target to iOS 14+, and adding Bluetooth usage descriptions to Info.plist.

import 'package:flutter/foundation.dart';
import 'package:polar/polar.dart';

const identifier = '1C709B20';
final polar = Polar();

void example() {
  polar.connectToDevice(identifier);
}

Alternatives

Packages that do the same job and could replace polar.

Works with

Packages commonly used together with polar: ones it builds on, ones built on it, and its own family.