Skip to content

Latest commit

 

History

History

react-native

Leopard Demo App

To run the React Native Leopard 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.

AccessKey

Leopard requires a valid Picovoice AccessKey at initialization. AccessKey acts as your credentials when using Leopard 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.

Usage

Replace your AccessKey in App.tsx file:

_accessKey: string ="${YOUR_ACCESS_KEY_HERE}" // AccessKey obtained from Picovoice Console (https://console.picovoice.ai/)

Running On Android

yarn android-install    # sets up environment
yarn android-run        # builds and deploys to Android

Running On iOS

yarn ios-install        # sets up environment
yarn ios-run            # builds and deploys to iOS