react-nativePorcupine — React Native Quick Start

  • Wake Word Detection
  • Local Voice Commands
  • Offline Keyword Spotting
  • Always Listening
  • Voice Activation
  • React Native
  • JavaScript
  • Mobile
  • Android
  • iOS

Requirements

  • Node
  • yarn or npm
  • CocoaPods
  • Android SDK 16+
  • JDK 8+
  • Xcode 9+

Refer to React Native's environment setup page for specifics on how to prepare your machine for React Native development.

Compatibility

  • React Native 0.62.2+
  • Android 4.1+ (API 16+)
  • iOS 9.0+

Cloning the Repository

If using SSH, clone the repository with:

git clone [email protected]:Picovoice/porcupine.git

If using HTTPS, then type:

git clone https://github.com/Picovoice/porcupine.git

Usage

Running On Android

cd demo/react-native
yarn android-install # sets up environment
yarn android-run # builds and deploys to Android

Running On iOS

cd demo/react-native
yarn ios-install # sets up environment
yarn ios-run # builds and deploys to iOS

Issue with this doc? Please let us know.