1
0
mirror of https://github.com/Picovoice/porcupine.git synced 2022-01-28 03:27:53 +03:00
Files
2022-01-20 20:44:24 -08:00
..
2022-01-20 17:59:14 -08:00
2022-01-20 20:44:24 -08:00
2020-11-17 11:04:37 -08:00
2020-11-17 11:04:37 -08:00
2020-11-17 11:04:37 -08:00
2020-11-17 11:04:37 -08:00
2020-11-17 11:04:37 -08:00
2020-11-17 11:04:37 -08:00
2020-11-17 11:04:37 -08:00
2020-11-17 11:04:37 -08:00
2021-11-25 10:08:21 -08:00
2020-11-17 11:04:37 -08:00
2020-11-17 11:04:37 -08:00
2020-11-17 11:04:37 -08:00
2022-01-20 17:59:14 -08:00
2021-11-25 12:18:59 -08:00
2022-01-20 17:59:14 -08:00

Porcupine Demo App

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

The Porcupine SDK requires a valid AccessKey at initialization. AccessKeys act as your credentials when using Porcupine SDKs. You can create your AccessKey for free. Make sure to keep your AccessKey secret.

To obtain your AccessKey:

  1. Login or Signup for a free account on the Picovoice Console.
  2. Once logged in, go to the AccessKey tab to create one or use an existing AccessKey.

Once you obtain your AccessKey, replace it in App.tsx file:

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

Usage

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