From bd99596f129efb06183521b2242c6df9a90f55a6 Mon Sep 17 00:00:00 2001 From: kaylerch Date: Fri, 7 Jul 2017 20:11:04 +0200 Subject: [PATCH] Upgrade to 1.0.2. Assign custom userIds to state-handlers if you don't want to save user-scoped state with Alexa session userId --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 405d0b3..4436bcd 100644 --- a/README.md +++ b/README.md @@ -340,6 +340,8 @@ gets you to Let's congrat Bob for beating the highscore ;) +## Custom user-ids for true long-term persistence + You may have noticed that by default Alexa's userId is used to as key when storing user-scoped model-state. This userId that comes in with every request to your skill, will change when a user re-enables your skill. That's not ideal as he would lose his state when enabling your skill