Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
// Añadir antes de la respuesta para dispositivos APL
if (!APLsupport(handlerInput)) {
return handlerInput.responseBuilder
.withSimpleCard(SKILL_NAME, randomFact)
// Función para detectar Soporte APL en dispositivos Alexa
function APLsupport(handlerInput) {
const Interface = handlerInput.requestEnvelope.context.System.device.supportedInterfaces;
const APL = Interface['Alexa.Presentation.APL'];
return APL != null && APL != undefined;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.