flutter_wear_os_connectivity
1.0.0, released 4 years ago by sstonn.xyz
Enables Flutter apps to communicate with apps running on WearOS devices.
What it does
Provides a wrapper to communicate with WearOS applications via the Data Layer API. Allows sending messages, syncing data items, transferring files, managing device capabilities, and tracking connected devices.
AI-written summary of version 1.0.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- Building a companion WearOS app for your Flutter Android application.
- Synchronizing data, messages, or capabilities between a phone and a smartwatch.
Skip it when
- Targeting non-Android smartwatches or Apple Watch (use alternative watch packages instead).
- Building general mobile-to-mobile connectivity apps without wearables.
Strengths
- Supports device discovery, message passing, and capability querying.
- Provides stream-based listening for data changes and messages.
Weaknesses
- Limited strictly to Android and WearOS ecosystem.
- Requires proper companion app package name alignment.
Setup
- Kind
- Plugin (native code)
- Effort
- Medium
- Code generation
- No
- Direct dependencies
- 1
Requires creating a WearOS companion app with the same package name as the Android app and calling configureWearableAPI() before use.
FlutterWearOsConnectivity _flutterWearOsConnectivity = FlutterWearOsConnectivity();
_flutterWearOsConnectivity.configureWearableAPI();
List<WearOsDevice> _connectedDevices = await _flutterWearOsConnectivity.getConnectedDevices();Alternatives
Packages that do the same job and could replace flutter_wear_os_connectivity.
- in_app_update
Triggers official Google Play In-App Updates on Android devices.
81Compare - flutter_watch_os_connectivity
Flutter plugin to communicate with WatchOS apps via Apple Watch Connectivity.
44Compare - watch_connectivity
Wrapper for WatchConnectivity on iOS and Wearable APIs on Android.
85Compare - polar
Dart plugin wrapper for the Polar BLE SDK on Android and iOS
73Compare