PipecatClient
to provide seamless integration for React Native applications.
Since the JavaScript SDK is designed to work across both web and React Native platforms, the core functionalities remain the same:
- Device and media stream management
- Connecting to Pipecat bots
- Messaging with Pipecat bots and handling responses using the RTVI standard
- Managing session state and errors
RNDailyTransport
instead of DailyTransport
.
Installation
Install the SDK and a transport implementation (e.g. Daily for WebRTC):Installing
@pipecat-ai/react-native-daily-transport
automatically includes the corresponding version of the JavaScript SDK.Requirements
This package introduces some constraints on what OS/SDK versions your project can support:- iOS: Deployment target >= 13
- Android:
minSdkVersion
>= 24
Quick start
Here’s a simple example using Daily as the transport layer:More Examples
Basic Example
A basic example demonstrating how to integrate an RNDailyTransport with a React Native project.
Full Example
A more comprehensive example showcasing a more feature-rich React Native application along with a server-side bot component.
Explore the SDK
The Pipecat React Native SDK leverages the Pipecat JavaScript SDK for seamless integration with React Native applications. For detailed information, refer to our JavaScript documentation.Just ensure you use the appropriate transport layer for React Native.