This guide assumes that you already set up the Nabla React Native SDK as described in the setup guide.
Make sure you also integrate the video call module so that users and providers can video call on appointments.
Install the SDK by running:
yarn add @nabla/react-native-scheduling
npm install --save @nabla/react-native-scheduling
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 NablaVideoCallClient.initializeVideoCallModule(); await NablaSchedulingClient.initializeSchedulingModule(); await nablaClient.initialize("YOUR_API_KEY");
Before using the SDK to schedule appointments, make sure:
- You specify consultation categories in your organization settings. Each category has a name, duration and associated providers.
- At least one of the specified providers has availability. Each provider can specify their —single or recurrent— availabilities on the calendar tab.
NablaAppointmentListView component lists the scheduled and past appointments along with a CTA to schedule a new one.
Appointments starting in less than 10 minutes are considered imminent and cannot be canceled by patients anymore.
Imminent appointments will show a button to join the associated video call. Check the video call module.
Updated 6 days ago