Rania
Rania

Reputation: 41

How to send data from smartwatch to Flutter app

I am looking for a method to get data(heart rate) from a smartwatch(wear/tizen/watch) and read them using a Flutter app. Anyone know of such a package or idea to communicate with the smartwatch and a Flutter APP PLZ?

Upvotes: 4

Views: 5155

Answers (1)

samUser1
samUser1

Reputation: 498

You can look at this answer which is pretty much what you were asking.

It says that, by now, you can do it only for wear thanks to this package. Here's an example for receiving messages:

// msg is either a Map<String, dynamic> or a string (make sure to check for that when using the library)
WearableListener.listenForMessage((msg) {
  print(msg);
});

Upvotes: 4

Related Questions