Twilio's Voice React Native SDK allows you to add real-time voice and PSTN calling to your React Native apps.
Please check out the following if you are new to Twilio's Programmable Voice or React Native.
The package is available through npm.
yarn add @twilio/voice-react-native-sdkOnce the package has been installed to your React Native application, there are further steps that you will need to take for both iOS and Android platforms. Please see the supporting documentation below.
With the release of 2.x versions (including our preview versions available through npm and Github Releases), the Twilio Voice React Native SDK officially supports the Expo framework out-of-the-box.
Please note that 2.x versions of the SDK do not support framework-less ("bare") React Native applications!
Please note that 2.0.0-preview.1 only supports Expo v52 at this time. Other versions of Expo are not tested or guaranteed to work!
After installing the Twilio Voice React Native SDK to your Expo application, please follow this doc for steps on configuring your Expo app with the proper permissions and grants to use Twilio Voice features.
Learn how to get started for the iOS platform.
Learn how to get started for the Android platform if you are using Java or Kotlin.
If you are migrating from a version of the Twilio Voice React Native SDK < 1.0.0.beta.4 to a version >= 1.0.0.beta.4, please see this document.
To customize the appearance and content of your application's notifications, please see this document.
To enable your application to play a ringback tone while making an outgoing call, please see this document.
To have your application implement or use its own PushKit delegate module, please see this document.
To have your application implement or use a different FirebaseMessagingService (such as OneSignal or RNFirebase), please see this document.
Please check out our common issues page or file any issues you find here on Github. For general inquiries related to the Voice SDK you can file a support ticket.
Please ensure that you are not sharing any Personally Identifiable Information(PII) or sensitive account information (API keys, credentials, etc.) when reporting an issue.
Please check out our known issues for known bugs and workarounds.
See LICENSE