block contacts on phone using react-native application - react-native

How to block contacts from phone using react-native application, can't find any service or dependency in react-native.
is there any way or need native service to perform this activity?
anyone have performed this activity need help.

Related

In expo android app, How to detect call state?

In expo android app, I want detect call state if person is picking incoming calls or making outgoing call. What package or method I can use please suggest.

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

How to Implement SMS Verification Codes Auto Fill using React-Native

I have just started learning React-Native, I have sms verification in my demo application, my goal is to fill in the field for sms automatically when the verification code reaches the user, I use the service of a foreign company for sms sender, how is it possible to achieve all this React Native , And which package would you recommend for cross-platform device, thank you very much.
There is a npm package called react-native-otp-autocomplete. However, it only works for Android. There is one more npm package react-native-otp-auto-fill. You can check this out for IOS.

Phone call within react native

Is there a way within react-native or some library that would allow the app to make a phone call within a custom UI & record the call? Ive seen react-native-communications but that redirects and uses the phones UI to make the call.
Try cloning and running this repo. It does what you are trying to do.
https://github.com/aryaminus/RN-voice-video-call/tree/HttpApiSetup

Wait for a server message in background in React Native

I'm developing a Messenger/Call app in React Native. Users can call each other. When all users are online there is no problem but when users go offline (close their app) they won't recognize calls. I need to run a service which listens to a specific types of message pushed by server.
I want to publish call signals by google GSM. (I can't use Firebase for some reasons)
Is there any library which I can use it or I have to define my own native module and Link it to React Native?