# react-native-dialogflow-text-voice-chat

> A react-native component that merges functionality of react-native-dialogflow, react-native-gifted-chat, react-native-tts and react-native-voice modules

Latest version **1.0.2** (published 2020-01-30) · MIT license · 0 weekly downloads

## Install

```sh
npm install react-native-dialogflow-text-voice-chat
pnpm add react-native-dialogflow-text-voice-chat
yarn add react-native-dialogflow-text-voice-chat
bun add react-native-dialogflow-text-voice-chat
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2020-01-30 |
| First published | 2020-01-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 413.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | Zaporozhets Anton |
| Maintainers | zaporozhets |
| Keywords | dialogflow, chat, voice-chat, text-chat, tts, react-native, api.ai, google, speak, text-recognition |

## Links

- npm: https://www.npmjs.com/package/react-native-dialogflow-text-voice-chat
- Repository: https://github.com/zaporozhetsAnton/dialogflow-text-voice-chat-react-native
- Homepage: https://github.com/zaporozhetsAnton/dialogflow-text-voice-chat-react-native#readme
- Issues: https://github.com/zaporozhetsAnton/dialogflow-text-voice-chat-react-native/issues
- npm.io page: https://npm.io/package/react-native-dialogflow-text-voice-chat

## Alternatives

- [react-native-root-siblings](https://npm.io/package/react-native-root-siblings.md) — 102.9K weekly downloads
- [@praxisui/dialog](https://npm.io/package/@praxisui/dialog.md) — 2.0K weekly downloads
- [easy-toggle-state](https://npm.io/package/easy-toggle-state.md) — 350 weekly downloads
- [ngx-lightbox-evp](https://npm.io/package/ngx-lightbox-evp.md) — 19 weekly downloads
- [react-native-modal-translucent-axton](https://npm.io/package/react-native-modal-translucent-axton.md) — 4 weekly downloads

## Recent versions

- 1.0.2 (latest) — 2020-01-30
- 1.0.1 — 2020-01-28
- 1.0.0 — 2020-01-28

## README

# react-native-dialogflow-text-voice-chat

A react-native component that merges functionality of react-native-dialogflow, react-native-gifted-chat, react-native-tts and react-native-voice modules. Gives you the possibility to communicate with dialogflow by text and voice chat.

<img src="react-native-dialogflow-text-voice-chat.png" alt="Header Image"/>

## Install

```shell
yarn add react-native-dialogflow-text-voice-chat react-native-dialogflow react-native-gifted-chat react-native-tts react-native-voice

react-native link react-native-voice

react-native link react-native-tts

cd ios/ && pod install
```

Also, you need open the React Native xCode project and add two new keys into Info.plist https://github.com/innFactory/react-native-dialogflow#ios-important-xcode-plist-settings

## Configuration

You need to get JSON file with private key for enabling Chat component. https://dialogflow.com/docs/reference/v2-auth-setup

## Usage

```javascript
import Chat from 'react-native-dialogflow-text-voice-chat'

import { dialogFlowConfig } from './dialogflow' // dialogFlowConfig - js object created based on dialogflow JSON file created at Configuration step

<Chat dialogFlowConfig={dialogFlowConfig} />
```

---
_Source: https://npm.io/package/react-native-dialogflow-text-voice-chat · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
