Use of this sample app is subject to our Terms of Use.
This is a sample application that demonstrates how to use the Zoom Video SDK in a React Native application. Built with Expo.
git clone https://github.com/zoom/VideoSDK-ReactNative-Quickstart.git
yarn
npx pod-install ## (or) cd ios && pod install
config.ts
and replace ZOOM_APP_KEY
and ZOOM_APP_SECRET
with your Zoom Video SDK credentials.Disclaimer: It's not recommended to store your credentials in the source code. This is only for demonstration purposes for sake of simplicity. You should use a secure backend to generate the token and pass it to the client.
yarn ios
# or
yarn android
yarn create expo zoom-video-sdk --template # select Blank (Typescript)
# or
npx react-native@latest init zoomRNCli --template react-native-template-typescript
yarn add @zoom/react-native-videosdk
npx pod-install
to install the podsapp.json
.{
"expo": {
"android": {
"permissions": ["CAMERA", "RECORD_AUDIO"]
},
"ios": {
"infoPlist": {
"NSCameraUsageDescription": "Text",
"NSMicrophoneUsageDescription": "Text"
}
}
}
}
If you're not using Expo:
info.plist
manually.Permissions
module as done in usePermission
in utils/lib.tsx or add these to your AndroidManifest
file.ZoomVideoSdkProvider
function App() {
...
return (
<ZoomVideoSdkProvider config={{....}}>
<YourApp>
</ZoomVideoSdkProvider>
);
function YourApp() {
const zoom = useZoom();
const handleJoin = async () => {
await zoom.joinSession({....});
}
...
npx expo prebuild
npx expo run:ios
# or
npx expo run:android
npm run android
# or
npm run ios
If you're looking for help, try Developer Support or our Developer Forum. Priority support is also available with Premier Developer Support plans.