actions on google userStorage only during session

一曲冷凌霜 提交于 2020-03-05 06:58:05

问题


For certain users, the actions on google userStorage object lives only during sessions. When the next launch request comes, it disappears (it's not in the incoming json). I recreate it with a new user id - everything is fine during the session, then I lose the stored state because I have to generate a new user id. For most of the users it works fine.

Am I missing something in the device setup? Voice identification? We are using DialogFlow but I don't think it is relevant.


回答1:


Have those users enabled the Web & Activity setting and the include chrome history setting in the activity center? If these settings are not enabled the user storage won't persist to the next conversation and anything that you save will be lost.



来源:https://stackoverflow.com/questions/58208082/actions-on-google-userstorage-only-during-session

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