From 915c284420da9c58252e6367c88a31e4dca8e412 Mon Sep 17 00:00:00 2001 From: Filipi Fuchter Date: Mon, 5 May 2025 18:32:04 -0300 Subject: [PATCH] Fixing readme --- .../simple-chatbot/client/react-native/README.md | 14 +++++--------- .../simple-chatbot/client/react-native/env.example | 2 +- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/examples/simple-chatbot/client/react-native/README.md b/examples/simple-chatbot/client/react-native/README.md index c7acef31b..032028b04 100644 --- a/examples/simple-chatbot/client/react-native/README.md +++ b/examples/simple-chatbot/client/react-native/README.md @@ -1,10 +1,6 @@ -# A voice to voice app for React Native (Expo) +# React Native implementation -This demo is meant to showcase a basic voice to voice app that uses [Daily's bots](https://bots.daily.co). - -## Prerequisites - -- [Sign up for a Daily bots account](https://bots.daily.co/sign-up). +Basic implementation using the [Pipecat RN SDK](https://docs.pipecat.ai/client/react-native/introduction). ## Usage @@ -52,11 +48,11 @@ npm run android First, you'll need to do a one-time setup. This is required to build to a physical device. -If you're familiar with Xcode, open `ios/RNDailybots.xcworkspace` and, in the target settings, provide a development team registered with Apple. +If you're familiar with Xcode, open `ios/RNSimpleChatbot.xcworkspace` and, in the target settings, provide a development team registered with Apple. If you're newer to Xcode, here are some more detailed instructions to get you started. -First, open the project in Xcode. Make sure to specifically select `RNDailybots.xcworkspace` from `/ios`. The `/ios` directory will have been generated by running `npx expo prebuild` as instructed above. This is also a good time to plug in your iOS device to be sure the following steps are successful. +First, open the project in Xcode. Make sure to specifically select `RNSimpleChatbot.xcworkspace` from `/ios`. The `/ios` directory will have been generated by running `npx expo prebuild` as instructed above. This is also a good time to plug in your iOS device to be sure the following steps are successful. From the main menu, select `Settings` and then `Accounts`. Click the `+` sign to add an account (e.g. an Apple ID). @@ -66,7 +62,7 @@ Once an account is added, perform the following steps: 1. Close `Settings`. 1. Select the folder icon in the top left corner. - 1. Select `RNDailybots` from the side panel + 1. Select `RNSimpleChatbot` from the side panel 1. Navigate to `Signing & Capabilities` in the top nav bar. 1. Open the "Team" dropdown 1. Select the account added in the previous step. diff --git a/examples/simple-chatbot/client/react-native/env.example b/examples/simple-chatbot/client/react-native/env.example index 911471f46..a8cc5560b 100644 --- a/examples/simple-chatbot/client/react-native/env.example +++ b/examples/simple-chatbot/client/react-native/env.example @@ -1 +1 @@ -EXPO_PUBLIC_BASE_URL=https://api.daily.co/v1/bots +EXPO_PUBLIC_BASE_URL=http://$YOUR_IP:7860