This guide assumes that you already integrated the rest of the messaging features in your app, and you want to add video calls. If that's not the case, follow the setup guide.
Video calls are complementary to the messaging and/or the scheduling features and are not standalone, make sure you integrate at least one of these first.
Install the SDK by running:
yarn add @nabla/react-native-video-call
npm install --save @nabla/react-native-video-call
And then run
pod install in your
ios directory, in order to install the native dependencies.
The next step is to set up the
NablaVideoCallModule when you init the
await NablaMessagingClient.initializeMessagingModule(); await NablaVideoCallClient.initializeVideoCallModule(); await nablaClient.initialize("YOUR_API_KEY");
Build and run your app, you should now be able to receive video call CTAs in a conversation and answer them.
In order to make the video call work, you must fill your
info.plistwith the key
From the Nabla console, a provider can now send a video call CTA that the patient can tap to join the call.
The patient will have to accept the Microphone and Camera permissions and will then be able to join the call.
Updated 4 days ago