To run the React Native Cheetah demo app you'll first need to set up your React Native environment. For this, please refer to React Native's documentation. Once your environment has been set up, you can run the following commands from this repo location.
Cheetah requires a valid Picovoice AccessKey
at initialization. AccessKey
acts as your credentials when using Cheetah SDKs.
You can get your AccessKey
for free. Make sure to keep your AccessKey
secret.
Signup or Login to Picovoice Console to get your AccessKey
.
Replace your AccessKey
in App.tsx
file:
_accessKey: string ="${YOUR_ACCESS_KEY_HERE}" // AccessKey obtained from Picovoice Console (https://console.picovoice.ai/)
yarn android-install # sets up environment
yarn android-run # builds and deploys to Android
yarn ios-install # sets up environment
yarn ios-run # builds and deploys to iOS