dialogflow-android-client icon indicating copy to clipboard operation
dialogflow-android-client copied to clipboard

How to migrate to Dialogflow API V2 and the v2 client library for android client?

Open YinXiuYu opened this issue 6 years ago • 11 comments

Dear Google: I noticed that Dialogflow client library and Dialogflow API V1 have been deprecated and will be shut down on October 23th, 2019, so want to migrate to v2 client library , however, the Java client document mentions the following : “To install the client library: Caution:The Java client library does not support Android.”
How to migrate to Dialogflow API V2 and the v2 client library for android client? Looking forward to your answer, thanks a lot advance!

YinXiuYu avatar Oct 11 '19 02:10 YinXiuYu

Do not use this old lib. Use dialogflow cloud library.

On Thu, Oct 10, 2019, 19:42 Kimi [email protected] wrote:

Dear Google: I noticed that Dialogflow client library and Dialogflow API V1 have been deprecated and will be shut down on October 23th, 2019, so want to migrate to v2 client library , however, the Java client document mentions the following : “To install the client library: Caution:The Java client library does not support Android.” How to migrate to Dialogflow API V2 and the v2 client library for android client? Looking forward to your answer, thanks a lot advance!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/dialogflow/dialogflow-android-client/issues/111?email_source=notifications&email_token=AB63B4PK2IA63IXCWYJAXLTQN7RZ3A5CNFSM4I7UI7VKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HRC5NTQ, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB63B4I2H52UFBKWIXN6RJDQN7RZ3ANCNFSM4I7UI7VA .

realill avatar Oct 11 '19 03:10 realill

Dear realill ,thanks for your answer, You mean I can use the Dialogflow API V2 within an android app. Can you say more specifically, or can you share an example? Thanks a lot advance!

YinXiuYu avatar Oct 11 '19 03:10 YinXiuYu

You should be able to use this Java library to build for Android https://cloud.google.com/dialogflow/docs/reference/libraries/java

But it is quite different from this old one.

On Thu, Oct 10, 2019 at 8:32 PM Kimi [email protected] wrote:

Dear realill ,thanks for your answer, You mean I can use the Dialogflow API V2 within an android app. Can you say more specifically, or can you share an example? Thanks a lot advance!

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/dialogflow/dialogflow-android-client/issues/111?email_source=notifications&email_token=AB63B4M7QJ3KMWSD25ZODWTQN7XUBA5CNFSM4I7UI7VKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEA6UHSI#issuecomment-540885961, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB63B4OFTXKZHH53VTDPKQTQN7XUBANCNFSM4I7UI7VA .

realill avatar Oct 11 '19 16:10 realill

Dear realill, Thanks for your reply , but the Java client document mentions the following : “To install the client library: Caution:The Java client library does not support Android.” So I want to know what the Dialogflow’s support plan is for used within the Android app. Could you please help us confirm this ? Thanks a lot advance!

YinXiuYu avatar Oct 12 '19 05:10 YinXiuYu

@realill How can we migrate from v1 to v2 for the client library?

prb407 avatar Oct 17 '19 10:10 prb407

Dear all, The following case shows the difference of calling dialogflow API V1 and V2 library. https://github.com/abhi007tyagi/DialogflowChat

lelele3kimo avatar Oct 22 '19 01:10 lelele3kimo

@lelele3kimo java client library does not work with firestore library and it is not recommended in android. Is there any other way around?

vinayjoglekar avatar Nov 05 '19 06:11 vinayjoglekar

@vinayjoglekar Sorry, I don't know how to let java client library work with firestore library. My post only provided an example to show how to migrate V1 to V2 for dialogflow android client.

lelele3kimo avatar Nov 06 '19 06:11 lelele3kimo

@vinayjoglekar I m facing the same issue already spent 3 days looking for a solution. Do you found any solution? dialogflow and firestore not working together.

vikasrairajput avatar Jul 24 '21 07:07 vikasrairajput

How to integrate Dialogflow v2 or dialogflow in general into Java/Kotlin android app.

I dont want to use https://medium.com/@abhi007tyagi/android-chatbot-with-dialogflow-8c0dcc8d8018 or https://github.com/abhi007tyagi/DialogflowChat . . .

SanthoshMKunthe avatar Jul 26 '21 02:07 SanthoshMKunthe

Hi, we created an Android Dialogflow v2 client library, which uses the official Google Cloud Java lib to communicate with Dialogflow.

vicianm avatar Nov 04 '21 20:11 vicianm