I am looking for a method to get data(heart rate) - flutter

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?
Looking for plugins

Related

Flutter - Get Current User Location

I saw that there are several methods to obtain the current user's location on flutter. I shortlisted it to two but cannot find which one would be more suitable and why. These are the flutter geolocator package and Google API.
Does someone have any experience using those? Which one would you recommend?
The app I am building needs high accuracy. I made a test and saw there is a little difference between the results obtained from the two. However, I have no idea which one is the most accurate.
Example:
Geolocator: Latitude = xx.xxx3127
Google API: Latitude =xx.xxx322
Geolocator is a good option to use for finding location
You can see the code in the attached link to find out how you can use it.
Flutter Geolocator and Google Maps: Show static location

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?
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);
});

Beacon and Flutter can works?

I have a question, I want to buy a beacon and send the signal from the beacon to the flutter application and then do something.
Is that possible with flutter?
Thank you very much!
Yes, it is possible. I tried https://pub.dev/packages/flutter_beacon for myself interest once when covid-19 declared a pandemic by WHO to solve Handshake problem.
I was converting the existing device as a beacon and then used "flutter_beacon" package to get the list of beacons in a defined region. So yeah, it is possible to do it flutter also. You can customize it as per your need further. But basic things are possible like getting the list of beacons in reason.
If asked whether or not, the answer is yes. but there are some obstacles or limits, such as Bluetooth will not scan in the background as in this article, this is indeed from Android and IOS which causes the limit. I am also working on this project, but there are still some problems as I have described above.
This link also can help Beacon scanning in background - Android O

Implementation of WhatsApp/Telegram like calling feature in Flutter

How can I implement WhatsApp/Telegram like call notification when the flutter app is in the background or cleared from the recent task (clearing ram)? Can anyone let me know Exactly How to do this?
There is a great youtube series on this exact topic. In the series, a YouTuber by the name of the CS Guy creates a clone of Skype. I've placed the link to the video where he explains how to create a pop-up screen when a user calls another user, however, you may need to watch the previous videos within the series in order to get everything working. Its quite long but I recommend you watch the entire thing. In terms of displaying notifications when a user is called, I recommend you watch a video by Fireship listed below. In the video, he explains how to send notifications in the background when a certain event occurs in Firestore.
I can't explain the entire process in detail to achieve what you want but I can give a general overview of what you would need to do.
Watch the video/entire series by the CS Guy and complete everything
Learn how to send push notifications in firebase from Fireship
When a new document is created within the calls collection (You will understand once you finish the cs guy series) trigger cloud function.
Find the uid of the receiver of the call within the cloud function and grab the user's token from Firestore.
Finally, send a notification to the receiver telling them about the incoming call.
CS Guy:
https://youtu.be/v9ngriCV0J0
Fireship: https://youtu.be/2TSm2YGBT1s
I have done the exact same thing in my application and can help you out if you need further assistance, however, please go through both videos/series first.
You can use the flutter_local_notifications plugin with the firebase_messaging plugin.
From the documentation of the flutter_local_notifications plugin;
[Android] Support for the following notification styles
Big picture
Big text
Inbox
Messaging
From the documentation of the firebase_messaging plugin;
With this plugin, your Flutter app can receive and process push notifications as well as data messages on Android and iOS.

Listening to incoming notifications Flutter

I am deciding whether to use Flutter for cross platform app. I have investigated in ways to implement other functionalities.
But I need one other feature to implement which needs listening to incoming notification from other app in background. (something like notification listener in Android)
While I was searching came across the issue here which may effect what I intend to implement.
Is there any way to achieve what I want in Flutter?
I am willing to write plugins in native languages if its possible.
You can benefit from platform channels to write a plugin to utilise native code for each platforms. This medium post explains how to execute dart in the background and have example code for Android (Kotlin) and iOS (Objective-C).
However, according to this SO post you are not able to create an similar service like a NotificationListener for iOS.