/plushcap/analysis/vonage/vonage-how-to-make-phone-calls-using-ios-and-react-native

How to Make Phone Calls Using iOS and React Native

What's this blog post about?

This tutorial explains how to build a React Native iOS app using the Vonage Client SDK, which allows users to make phone calls to physical phone numbers. To complete this tutorial, you need to set up several prerequisites such as Xcode 12, a GitHub account, Cocoapods, Homebrew, and a Vonage API account with an API Key and API Secret. You also need to create a virtual phone number and install the necessary dependencies for React Native. The app uses a webhook server to receive incoming calls from Vonage and then connects the call to the PSTN phone number. To run the project, you need to start Metro with `npx react-native start` and then open a new terminal window to run `npx react-native run-ios`. The app allows users to place phone calls using their virtual phone number. The tutorial also covers how to communicate with native code using NativeModules and EventEmitter API, which is essential for integrating the JavaScript code with the native iOS code.

Company
Vonage

Date published
April 20, 2021

Author(s)
Abdul Ajetunmobi

Word count
1659

Language
English

Hacker News points
None found.


By Matt Makai. 2021-2024.