stoiveyp / Alexa.NET.Reminders

Small helper library for Alexa.NET based skills to access the reminders API
MIT License
4 stars 1 forks source link

Example of permission request for reminders #11

Open davidlfox opened 4 years ago

davidlfox commented 4 years ago

I can't seem to find any C# examples of flows to request permissions--do you have any samples?

Am I understand the flow correctly as:

  1. Skill says something relevant, asks user if they want to set a reminder
  2. User responds "yes"
  3. Skill receives AMAZON.YesIntent
  4. Skill responds with a request for permission
  5. Alexa takes it from here and confirms permission
  6. User responds "yes"
  7. Then what? Skill receives another AMAZON.YesIntent and reminders are enabled?

What does the code look like for steps 4 and then 7?