RingCentral two way communication - react-native

I am building a React Native application for calling using RingCentral APIs.First of all I tried using the webphone RTC via web browser: https://github.com/ringcentral/ringcentral-web-phone. It works perfectly fine in web browsers. But the thing I need is to call via react-native application I am building.
I tried calling via RingCentral using 'ring out call' POST API and 'call control- make callout' post api(beta version).But the problem i am facing is when i integrate these apis to react-native applications : To have a two way communication I need to be online in the web phone .Then when i call from react native it goes to the web phone first.And then when I dial 'answer' it redirects to the number i want to call to.Then only I can have a two-way communication.
So, what do I do if I want to directly call via react-native application to the recipient directly?
P.s. If I am not online in the web phone from browser the call automatically goes to the voicemail.

So hard to understand your question from the title and the detailed description.
I guessed that you want to implement a functional phone using react native where you want to use the RingCentral WebRTC SDK to handle incoming and outgoing phone calls.
First of all, please mind the browser compatibility supported by the WebPhone SDK. Secondly, it is not trivial and I cannot support you on the react-native part. However, RingCentral provides an easy way to embed a RingCentral embeddable phone to any webpage and that app is an open source project. You can use the embeddable as such or clone the project and learn from the code or modify it to meet your requirements.
Click on the links above to find further information.

Related

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

React Native send email with link to web app or mobile app

I am trying to implement deep linking into this app. The app is a React Native Expo app, and is served on web, iOS and Android. There are a bunch of things we want to achieve with this i.e. link to specific things in the app such as certain messages etc. But currently my primary focus is just to navigate to general screens like 'Home', 'Messages', 'Login' etc.
I have been testing and so far, I can enter the URIs such as exp://host:port/--/login and they work as expected.
However, I know and understand that this will not work in a web browser on my laptop for example.
So my question is, how do I send an email to a user let's say after they have verified their account, prompting them to login, with a link that will for one, take them to the web app if they are on desktop, and two open the mobile app if they have it installed on their phone?
And just as an example, let's imagine my deep link URI is myapp://login
Thanks for any help.
EDIT
After looking around some more, I am deciding to consider the possibility of linking to the web app, and upon the web app loading, linking to the mobile app if they have it installed.
Given this, what is the best way to handle this?
You can follow one of the next approaches.
Validate the request origin and based on that generate the link for
an specific platform.
Generate as much links as platform are currently serving you app.
Like: Link to iOS, Link to Android and Link To web
You can design image buttons for each one to make it prettier

React Native PayPal integration without server dependency?

I have tried with using Web view and having a Node server with paypal-rest-sdk as backend.
The flow seems to be a work around. Is there any way to directly integrate the Paypal with React Native code without any server calls or web views.
This isn't really a React question -- if no server is used, then you would be doing a client-only HTML/JS integration such as this one: https://developer.paypal.com/demo/checkout/#/pattern/client
That's possible to do. It would all be happening in a full mobile web experience, which then becomes the PayPal Checkout.
If your question was whether it's technically possible to do "server"-style REST API calls from a purely native React app, please put that thought out of your mind. Your 'secret' API key should never be in the possession of a client-side App.

how to make a call using SIP protocol or WebRTC technology in React-Native?

Considering the development of an application in React-Native or Flutter that allows the user to click a button and make a call (that goes through service like Twilio) and this redirects it by calling to another person.
I've been looking for examples with SIP or WebRTC integration but hasn't found a lot of guides so far.
is it possible to develop something like that?

How to integrate intercom chat to react-naive mobile app?

I'm developing a mobile app which has a support feature for clients. Support is a chat session. We are planning to use intercom chat integration with our react-native mobile app. We are using React-Native.So is there any way to integrate intercom chat with my mobile app ??
If it is possible can i be able to change intercom chat UI with customized react-native components ??
Any links helps would be appreciated ?
Yes, you can integrate Intercom in a react-native application. You can use
react-native-intercom, this a wrapper of Intercom-ios-sdk and does not have options to further customization (only launcher).
You'll have to write some native code hopefully everything is in the README.me
About changing intercom UI: it is not possible. Really, don't waste your time trying to do this. They simply don't offer this feature.
Their clients SDK are not open source even if they are in GitHub. If you go to Intercom Android SDK or Intercom iOS SDK you would think that they open sourced them but if you see their files you're gonna see that it is just binary files. You cannot edit them. Or maybe you can but in a hacky way.
The only way to use your own components is to use their API directly and implement the UI from scratch. I strongly recommend you to don't do it. They have API call restrictions (500 requests per minute) which is easy to achieve because of the number of calls you'll have to send in order to make it work properly.