问题
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