Last updated:
0 purchases
flutter smart watch
Flutter Smart Watch #
Plugin provides communication layer between the Flutter app and the WearOS, WatchOS applications.
Features #
Use this plugin in your Flutter app to:
Communicate with smart watch application,
Transfer raw data.
Transfer files.
Check for wearable device info.
Detect wearable reachability.
Getting started #
For WatchOS companion app, this plugin uses Watch Connectivity framework under the hood to communicate with IOS app.
For WearOS companion app, this plugin uses Data Layer API under the hood to communicate with Android app.
Configuration #
Android #
Create an WearOS companion app, you can follow this instruction to create new WearOS app.
Note: The WearOS companion app package name must be same as your Android app package name in order to communicate with each other.
That's all, you're ready to communicate with WearOS app now.
IOS #
Create an WatchOS companion app, you can follow this instruction to create new WatchOS app.
Note: If you've created a WatchOS app with UIKit, the WatchOS companion app must have Bundle ID with the following format in order to communicate with IOS app: YOUR_IOS_BUNDLE_ID.watchkitapp.
That's all, you're ready to communicate with WatchOS app now.
How to use #
How to use #
Get started #
Import the library
import 'package:flutter_watch_os_connectivity/flutter_watch_os_connectivity.dart';
copied to clipboard
Android #
Create new instance of FlutterWearOsConnectivity
final FlutterWearOsConnectivity _flutterWearOsConnectivity = FlutterSmartWatch().wearOS;
copied to clipboard
And then, please follow this documentation to integrate futher with Android app.
IOS #
Create new instance of FlutterWatchOsConnectivity
final FlutterWatchOsConnectivity _flutterWatchOsConnectivity = FlutterSmartWatch().watchOS;
copied to clipboard
Please follow this documentation to integrate futher with IOS app.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.