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.
Related
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.
I want to know how to make a network request on app initialization from the native modules instead of doing it in Javacsript/React Native code.
I saw in a video that one way to speed up the initialization time is to move the network requests to the native-modules (iOS/Android), that way when the app is ready the response of the network request is given to React-Native to handle it.
The video is titled "Performance in React Native" by Ram Narasimhan. There is no example provided.
Here's an example I made for both iOS and Android: https://github.com/corinaferencz/network-native-module
Network requests are handled in native, and the response is sent to 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
My React-Native App has a headlessTask that is triggered when device receives an SMS. I want my app to open a screen when the SMS is received, even when app is not running.
I'm familiar with react-navigation, but since a headlessTask is not a component, I can't even send the navigation prop.
What I have tried:
Headless Task use inside component with React Native
the solution above only works if application is open.
P.S. In Native Android, I'm able to achieve this by starting the Activity inside the broadcast receiver.
You can use deep linking.
In your headless task use something like this:
Linking.openURL('example://sms-received/sms-data')
Also you should handle deep links in your app.
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?