React Native SDK overview
The Abi React Native SDK brings Abi’s consultation experience into Android and iOS applications. It supports text and video consultations, prescription workflows where enabled, and partner-specific visual configuration.
Capabilities
Section titled “Capabilities”| Capability | Product outcome |
|---|---|
| Modular consultations | Enable text, video, prescription requests, and agreed mental-health evaluation flows. |
| End-to-end flow | Support symptom capture, clinician interaction, answers, prescriptions, and summaries in one application journey. |
| Real-time communication | Use REST and WebSocket connections for consultation lifecycle updates. |
| Configurable interface | Adapt colors, typography, spacing, shadows, buttons, headers, doctor cards, modals, and consultation screens. |
| Localized delivery | Support partner-defined languages and country-specific address capture where enabled. |
| Integration events | Receive non-sensitive consultation events such as started, ended, and resolved. |
Architecture
Section titled “Architecture”Your backend authenticates with Abi and obtains a user token. The mobile app passes that token to the SDK; it must never contain a partner API key or other long-lived credential. The SDK validates the token, uses secure WebSocket connections for real-time consultation updates, and makes authenticated REST API calls as required by the consultation flow.
Integration path
Section titled “Integration path”- Install the SDK and its native dependencies.
- Configure the required mobile permissions and build a native Android or iOS application.
- Add the consultation provider and components to the part of the app that hosts the experience.
- Use the REST API authentication guide to implement token issuance in your backend.
Technical requirements
Section titled “Technical requirements”| Requirement | Detail |
|---|---|
| Platform | React Native for Android and iOS |
| Native support | Custom native modules; not Expo Go |
| Permissions | Camera and microphone for video workflows |
| Connectivity | Secure REST API and WebSocket access |
| Security | User-token authentication and agreed transport controls |
Start with the SDK quickstart or go directly to installation.
