node.js - integrating google assistant with other android apps -
is possible open android application , perform task response google assistant chat. how code google assistant app in node.js that?
the short answer no. , in cases, don't want anyway. assistant runs on multiple platforms, not android, , meant more of conversational user interface.
a longer answer that, while possible, bad idea. assistant hands-free, , eyes-free, operation, , directing user application treats launcher. better solution move of logic have in app webhook , provide conversational way same information.
if insist on going app, however, there 2 ways can this:
you can have webhook (node.js in case) trigger notification using firebase cloud messaging either create notification on device or trigger intent in app.
you can return basic card containing link url trigger intent in app.
Comments
Post a Comment