$ npm install react-native-google-speech-api --save
$ react-native link react-native-google-speech-api
Libraries ➜ Add Files to [your project's name]node_modules ➜ react-native-google-speech-api and add RNGoogleSpeechApi.xcodeprojlibRNGoogleSpeechApi.a to your project's Build Phases ➜ Link Binary With LibrariesCmd+R)<android/app/src/main/java/[...]/MainActivity.javaimport com.reactlibrary.RNGoogleSpeechApiPackage; to the imports at the top of the filenew RNGoogleSpeechApiPackage() to the list returned by the getPackages() methodandroid/settings.gradle:
include ':react-native-google-speech-api'
project(':react-native-google-speech-api').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-google-speech-api/android')
android/app/build.gradle:
compile project(':react-native-google-speech-api')
RNGoogleSpeechApi.sln in node_modules/react-native-google-speech-api/windows/RNGoogleSpeechApi.sln folder to their solution, reference from their app.MainPage.cs appusing Com.Reactlibrary.RNGoogleSpeechApi; to the usings at the top of the filenew RNGoogleSpeechApiPackage() to the List<IReactPackage> returned by the Packages methodimport RNGoogleSpeechApi from 'react-native-google-speech-api';
// TODO: What to do with the module?
RNGoogleSpeechApi;