React Native Overview

Spokestack can be integrated with React Native apps developed in Java and Kotlin.

Integrations by Feature

Add speech recognition, language understanding, and text-to-speech to your React Native app with one simple API.

Select a specific feature you’d like to integrate with for more details:

Wake WordKeywordASRNLUTTS
try {
  await Spokestack.initialize(
    "YOUR_SPOKESTACK_API_ID",
    "YOUR_SPOKESTACK_API_SECRET",
    {
      wakeword: {
        filter: require('./filter.tflite'),
        detect: require('./detect.tflite'),
        encode: require('./encode.tflite')
      }
    }
  )
  await Spokestack.start()
} catch (e) {
  console.error(e)
}
TypeScript

Try a Wake Word in Your Browser

Test a wake word model by pressing “Start test,” then saying “Spokestack”. Wait a few seconds for results. This browser tester is experimental.

Say Spokestack when testing

Instructions
  1. Test a model by pressing "start test" above
  2. Then, try saying any of the utterances listed above. Wait a few seconds after saying an utterance for a confirmation to appear.
Create Wake Word

Spokestack React Native SDKs

Spokestack manages voice interactions and delivers actionable user commands with just a few lines of code. To integrate, first decide whether or not you’ll need to include a drop-in UI widget.

react-native-spokestack

Spokestack: give your React Native app a voice interface!

378
react-native-spokestack-tray

React Native component for adding Spokestack to a React Native app

80
For step-by-step instructions on how to use react-native-spokestack check out our Getting Started Guide.
For step-by-step instructions on how to use react-native-spokestack-tray check out our React Native Tray Tutorial.

Related Resources

Want to dive deeper into the world of Android voice integration? We've got a lot to say on the subject: