Is there a way to get an device identifier for an IOS and Android device that will be the same across apps - react-native

I am writing a react-native app. My app requires to send up to my API a device id. From my understanding react-native-device-info has a getUniqueId() method but that is not going to return the same string across all apps.

Related

Is their any method or react native package to fetch list of available Wifi networks in iOS devices?

I want to display all the wifi networks available nearby in my react native app.
For Android, react-native-wifi-reborn provides a method, 'loadWifiList() to get all the the available networks but their are no methods for iOS.
Can you suggest any library or method to fetch the list for iOS.
I tried using the loadWifiMethod() in iOS but it failed.

Send SMS within Expo app without redirecting to the device default messaging app

As part of a school project I am working on, I am trying to build a messaging app that utilizes SMS as the default method for sending and receiving SMS without redirecting to the default SMS Messaging App of the device (ie sending/receiving an SMS for my app without redirecting to the Messages app on the iPhone). but I haven't found anything that can be used to achieve this.
PS: One of the requirements of the projects is not using any external library, except for the things provided with Expo,
You will have to use an external library. That feature isnt build in react Native
One external Library would be "https://www.npmjs.com/package/react-native-sms"
The only option you have if you really dont want to use external librarys is, to write your own function, which communicates with the native API

I want to send a string from one react-native app to another react-native app using bluetooth

Which is the best library for react-native for sending data using Bluetooth and how to implement that any tutorial or steps for it?

Does Agora.io react native api support ringtone for video calls

I would like to initiate a call with the react-native api and play a ringtone on the receiving phone. Is this supported on the api?
From Samyak Jain's answer
You can check out this library: https://github.com/react-native-webrtc/react-native-callkeep
It uses callkit on the ios side and connection service on the android side.
We also have some sample apps for IOS and Android that use CallKit and ConnectionService respectively and use Agora RTM. You can find them here: https://github.com/AgoraIO/Advanced-Video/tree/dev/backup/Calling-Interface

How can iOS application interact with an Ethereum wallet

I have a dapp for web application. Users have metamask installed in the Chrome browser. They make transactions using metamask. Now I want the same application to be developed in iOS using react-native. How to develop this? For browser when users want to make any transaction simply metamask pop ups and asks for confirmation.
How about in mobile devices? How they are going to install metmask in the devices and make transactions in mobile device. Is is possible to achieve this? How can I develop this app?
Your iOS app can communicate with iOS wallets using WalletConnect mobile linking. This fulfils a similar functionality as MetaMask pop-up on desktop environments.
Yes, you don't need metamask for your application. (And I am yet to see someone use it in an app built in React Native.)
Metamask is essentially a wallet which 'injects' into various services on the web. But it is nothing more than a wallet that manages your identit(y/ies).
The features you'd need in your React app would need:
Managing identities (private and public keys.)
Ability to sign transactions.
Then you might want to use extra features such as:
Importing keys
Updating balances
Recording transasctions, etc.
If you're using web3.js, then you need to start here: web3.eth.accounts and look into wallets on the same page.
For React Native, you can use the Moralis SDK https://moralis.io/
If you're developing a native app with Swift, you can use the v1 WalletConnect SDK https://github.com/WalletConnect/WalletConnectSwift.
Also, I'm working on a package (on top of WC) that already has all the configuration for it: https://github.com/maurovz/Glaip