Skip to Content
🚀 Orga AI is in open beta.
ReferenceClient SDKsReact Native SDK

React Native SDK Reference

This page is the definitive source for everything exposed by @orga-ai/react-native: hooks, components, and exported types for mobile integrations built on react-native-webrtc and react-native-incall-manager. Use it when you need prop names, return signatures, or compatibility notes—tutorials and conceptual guides live elsewhere.


Sections

  • Hooks — useOrgaAI() contract for session control, device management, and parameter updates.
  • Components — <OrgaAICameraView>, <OrgaAIControls>, and provider components tuned for native media.
  • Types — TypeScript definitions exported alongside the React Native SDK.

đź’ˇ Tip:
The React Native SDK mirrors the structure of the web SDK (@orga‑ai/react)
but integrates native modules (react‑native‑webrtc, react‑native‑incall‑manager) for media and routing.


Structure

Each reference page includes:

  1. Concise description of the API surface.
  2. TypeScript/JSX examples for quick integration.
  3. Tables describing parameters, props, and return values.
  4. Notes covering lifecycle, performance, and platform specifics.

Development Environment Requirements

Because the SDK uses native modules, your dev setup must include:

RequirementDescription
React Native ≥0.72Required baseline version.
Expo SDK ≥50 (optional)Enables API Routes with secure server‑side env variables.
react-native-webrtcHandles WebRTC camera and audio streaming.
react-native-incall-managerControls speaker routing and call audio modes.
Physical device or simulator with cameraRequired for real‑time session testing.

⚠️ Expo Go is not supported — build a custom development client or use a bare React Native project.


Versioning

The React Native SDK follows the same semantic versioning as the other Orga SDKs.
Breaking changes are indicated by major version increments (e.g., 1.x → 2.x).


If you’re new to the SDK, start with:


Next Steps

Last updated on