Smart watch communication with React Native application - react-native

I need to develop an app using React Native which will get some data from Amazfit Stratos smart watch.
The smart watch is connected to the phone via bluetooth and has an application "Amazfit" where it actually gets the data that I need (i.e. step count, heart rate, etc.). After a lot of research (google and youtube), I have not encountered a way to import the data into my application. Since I haven't started making the application, there is no code to show. Can any one provide any basic solution to this problem?
My guess is (if it's possible):
Make my application communicate with the smart watch
Make my application communicate with Amazfit Android application
Any help greatly appreciated!

Related

When working with a React Native app what is the easiest way to create a group of connected apps?

I am working on a React Native app for a project. The idea is to make a Dungeons and Dragons support app, and some of the planned functionality is to have a group of apps connect to each other sharing certain bits of information. And if I could pull it off I’d like to have one of the apps be able to send simple commands to the others, this would be for the Dungeon Master.
I am trying to figure out what the easiest way to accomplish something like this would be with React Native. Also preferably free, since I don’t intend to sell this anytime soon.
Any help would be great.

How to setup connection between React Native app and Thingspeak (cloud service)?

I'm a beginner in react native and I'm working on a mobile app for school. Within it, I need to send and receive data (draw graphs) from the cloud. We use cloud services from Mathworks - Thingspeak. Would you please advise me on how to start this communication? Is it necessary to set this communication on every screen where graphs will be displayed or send data? Is it possible to use write & read API keys for this task?
Thank you for every answer
You can use REST API for communication,
For read: https://www.mathworks.com/help/thingspeak/readdata.html
For write: https://www.mathworks.com/help/thingspeak/writedata.html
There are example requests on both pages.
You don't need to install a separate package, you can do it with fetch
Let me know if you succeeded, or I can help again!

{React native}, Offline mobile app , sotore data in user device

I am new to react-native and currently aiming to make a simple ios application using react-native.
The developing application basically stores pre-installed 100 types of text files and other 100 types of text data that users can personally add after installation.
My question is that should 'react-native-SQLite-storage' be used to store data on a user's mobile app?
I have done some research and figured out two ways to store data, one is to use Async Storage, another one is to use react-native-SQLite-storage, and still confusing the difference between those ways.
I appreciate some ideas from people who have been developed react native app before.
Thanks.

How to trigger an UI action when the app is closed in React Native?

Apologies if my question is already answered in any other ways. I am very new to react-native with no knowledge of android or java.
I am trying to make a video conferencing app with react native. I used Agora for video calling and linked it with socket.io and react-native-callkeep for real time experience.
Now i am stuck in a situation where i have to make the app functional when someone is calling and the app is ""Closed"". Something like Whatsapp. I thought of implementing Firebase Cloud Messaging for push notification. And though it will open the application in someway. But the application opens when user opens the notification.
Can anyone please help me with any of the following or better ideas:
1. Keep the socket io open even when app is closed
Or 2. Open my application with incoming push notification (Without Opening It)
Please avoid abstruct answers as i am very new in this sector. I really appreciate the help. Thank you.
I think the second method is the way to go you can also look at this library called react-native-callkeep I think it fits your use-case as well.

Are there any registration/authentication api's which can be used in React Native

I'm developing an IoS and Android app using react-native, and am now starting to consider all the aspects of user registration, so that typically the person will provide some credentials, and then get sent an email (or possibly sms) enabling them to "verify" their account, after which point they are a registered user.
These registration processes (and subsequent emails/sms's seem to be fairly common , so I'm wondering if there are any API's which anyone has come across which make the job of creating the registration/activation process easier m rather than writing code from scratch ?
Many thanks in anticipation
It depends what you want when you ask for an API. If you're developing backend as well you can use Auth0.
If you want just to implement frontend, I guess you have to write your own code. Consider using something like redux or mobx to store your email and other things after logging in.
Anyways the REST part you have to write on your own. As for views you can google for it, for example there's react-native-login-screen