🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

react-native-nuance

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-nuance

A React-native module for interfacing with the Nuance Voice-recognition system for iOS

latest
npmnpm
Version
0.0.1
Version published
Maintainers
1
Created
Source

Nuance Communications SDK for React Native

Nuance Communications SDK module for React Native. It lets developers embed voice recognition into React Native apps for iOS (since the Android platform has native services).

Example

Getting started

iOS

  • Make sure you have "React Native" project created with react-native init

  • cd into a project directory where package.json file is located.

  • Run npm install react-native-nuance@latest --save

  • Start XCode and open project with it.

  • Go get yourself a free Nuance Developer account over at https://developer.nuance.com/public/index.php?task=home

  • Download the Nuance SDK

  • Download the SpeechKit.framework.

  • Drag the SpeechKit.framework to the Frameworks group of your Xcode project.

  • Set the following value under your Xcode project (unless you are using C++ in your application already). Build Settings tab => Linking => Other Linker Flags => -l"c++"

  • In XCode, in the project navigator, right click Libraries âžś Add Files to [your project's name]

  • Go to node_modules âžś react-native-nuance/ios and add Nuance.xcodeproj

  • Run your project (Cmd+R)

Android

Not supported. Go visit the kind folks over at (react-native-android-voice)[https://www.npmjs.com/package/react-native-android-voice]

Usage

import the react-native-nuance module:

import NuanceManager from "react-native-nuance";

Add event listeners using DeviceEventEmitter:

DeviceEventEmitter.addListener(
    'ConnectionSuccessful',
    () => {
        console.log('Connection successful');
    }
);

Connect the SDK to the cloud:

NuanceManager.connect();   

FAQs

Package last updated on 28 Mar 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts