/apl-interactive-button-demo

Primary LanguageJavaScriptApache License 2.0Apache-2.0

Interactive APL Button Demo

This is a tutorial that demonstrates how to implement an interactive APL (Alexa Presentation Language) button.

What You Will Need

Setting Up the Demo

This folder contains the (1) interaction model, (2) APL document and (3) skill code. It is structured to make it easy to deploy if you have the ASK CLI already setup.

If you would like to use the Developer Portal, you can

  1. follow the steps outlined in the Hello World example
  2. substituting the Model
  3. create an ./lambda/custom/apl folder
  4. add button.json to the apl folder
  5. add skill code to ./lambda/custom/.

Running the Demo

To start the demo say "alexa, open button demo".

Known Issues

Alexa Presentation Language (APL) is currently in public beta so there are some known bugs. In this demo there are the following issues:

Physical Device

Styles do not render properly so the button will appear to have no padding.

Simulator

The SendEvent request to the Lambda will be missing source information which is present when using a physical device