jovotech / jovo-cli

🛠 Command Line Interface for the Jovo Framework: Makes voice experience deployment a breeze, including features like local development and staging.
https://www.jovo.tech/marketplace/jovo-cli
Apache License 2.0
57 stars 31 forks source link

Intent inside component not triggering #321

Closed alvarocardenasc closed 2 years ago

alvarocardenasc commented 2 years ago

I'm submitting a...

Expected Behavior

trigger intents inside current component.

Current Behavior

After I launched an audioPlayer, intents like AMAZON.PauseIntent,AMAZON.NextIntent etc inside the same component dont trigger unless I set them as global.

Error log

In the previous jovo version 4.1.1 that was working fine.

Your Environment

jankoenig commented 2 years ago

When AudioPlayer starts a song, the session ends. This is why new requests are seen as new sessions, so the handlers need to be global.

Learn more here: https://www.jovo.tech/marketplace/platform-alexa/audioplayer#audioplayer-handlers