I have been trying to find an existing Ionic 3 Chat client to integrate with Dialogflow v.2. All the clients I can find and examples are with Dialogflow v.1 and the Cordova plugin only supports V.1. Does anyone have experience with this are have created a client with the Dialogflow V.2 API? All help much appreciated Thanks!
Asked
Active
Viewed 306 times
3 Answers
2
One way is to use the Dialogflow libraries to develop and integrate it with the ionic chat.
The other way is to use the third-party applications which support DialogflowV2 and integrate. Here's the article for more info.

Samir1810
- 389
- 1
- 10
0
AFAIK, the official Cordova and Javascript clients will stop working in October 23th, 2019. No news yet of an update to fix this.

rcpinheiro
- 85
- 1
- 6
0
You can use the nodejs-dialogflow library. Here is an example you can use to get you started.
Also, check the Dialogflow quickstart for setting up the authentication.

Tlaquetzal
- 2,760
- 1
- 12
- 18
-
When running the node library in an Ionic application it gives a ton of errors and won't compile. Can't resolve 'tls' Can't resolve 'net' Can't resolve 'child_process' Can't resolve 'fs' (And more similar to that) These look to be modules built-into node? – jonespm Aug 29 '19 at 20:37
-
I've already encountered a similar issue. Are you using webpack? Check [this answer](https://stackoverflow.com/a/57419528/7517757) – Tlaquetzal Aug 29 '19 at 20:55
-
Thanks, I wasn't using webpack. I think we just ended up just using @angular/common/http and posting JSON direct to Dialogflow. Will look at this if we go down a different path. – jonespm Nov 06 '19 at 18:05