Skip to content
pubscout

watch_connectivity

0.2.11, released 5 weeks ago by rexios.dev

Wrapper for WatchConnectivity on iOS and Wearable APIs on Android.

WASM-ready
$ flutter pub add watch_connectivity
Source repository

What it does

Provides a cross-platform wrapper to communicate between mobile devices and smartwatches (Apple Watch, Wear OS). Allows sending messages, updating application contexts, and listening for updates via streams.

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

Use it when

  • You need to send messages or sync context data between a phone and an Apple Watch or Wear OS device.
  • You want to check if smartwatches are supported, paired, or reachable from your mobile app.

Skip it when

  • You are targeting platforms other than iOS and Android.
  • You need complex health workout integrations that require the removed startWatchApp functionality.

Strengths

  • Supports both iOS WatchConnectivity and Android Wearable APIs in a unified API.
  • Provides stream-based listening for incoming messages and context updates.

Weaknesses

  • Android platform limitations mean it cannot natively verify if a watch is paired or reachable, relying instead on app installations and node connections.
  • Android and watch apps must share the same package name and be signed with the same key.

Setup

Kind
Plugin (native code)
Effort
Medium
Code generation
No
Direct dependencies
1

On Android, the watch and phone apps must have the same package name and be signed with the same key.

import 'package:watch_connectivity/watch_connectivity.dart';

void example() {
  final watch = WatchConnectivity();
  watch.isPaired;
  watch.isReachable;
  watch.sendMessage({'data': 'Hello'});
}

Alternatives

Packages that do the same job and could replace watch_connectivity.

Works with

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