Google Assistant Actions - Device Location

会有一股神秘感。 提交于 2021-01-25 01:41:51

问题


How can I get user device location (lat, lng) in Google Actions? I have found some examples using actions-on-google library to ask user for permission and get device location. But when creating a new project it is using @assistant/conversation instead of actions-on-google. If I understand correctly, this conversation lib is a new standard and I should be using it. Unfortunately, I cannot find any information about permissions or device location in @assistant/conversation. Is there some other library I should use? Or maybe it is still in development and I should stick to older actions-on-google until it will be ready?

来源:https://stackoverflow.com/questions/64914584/google-assistant-actions-device-location

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!