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:
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)
}
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
- Test a model by pressing "start test" above
- Then, try saying any of the utterances listed above. Wait a few seconds after saying an utterance for a confirmation to appear.
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 component for adding Spokestack to a React Native app
react-native-spokestack
check out our Getting Started Guide.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: