question

newuser-a6e06436-e7e9-45be-aac6-f503e00a2ff3 avatar image
newuser-a6e06436-e7e9-45be-aac6-f503e00a2ff3 asked ·

Alexa custom Skill getting auto exit after 30 seconds of inactivity (In Echo Cube 1st Gen Device, post upgrade to Fire OS 6.2.xx)

Hello,


I have developed a custom alexa skill using APL to display product sales information for business users based on their voice query for different products.


Prior upgrading Echo Cube (1st Gen) to Fire OS version 6.2.xx, in older versions custom skill and displayed APL screen in TV will remain active without any time limit based on user query till we close the skill calling closeintent our self. It was the expected behavior since users have enough time to view information and have discussions between them.


But after OS upgrade, custom skill and displayed APL screen gets auto closed after 30 seconds of inactivity. We expect screen to stay longer as before since time frame of 30 seconds to view information is very less and users are totally unhappy now.


There are no recent changes in code, i have set parameter .withShouldEndSession(undefined) to keep custom skill intent to remain active for expecting reply from user. I have tried changing it to .withShouldEndSession(false) but still skill gets auto exit after 30 seconds.


Please find below for Skill details.


We have also Echo Cube (2nd Gen) running Fire TV OS 7.2.xx, its also experiencing same issue mentioned above.


Can you please help with suggestion to fix this issue asap since it started badly affecting our user's interest to use developed Alexa Skill.


Please let me know if you require any additional info.


Thanks,

Nishanth

alexa skills kitalexaechoecho shownode_js
10 |2000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

KirkC@Amazon avatar image
KirkC@Amazon answered ·

Hi Nishanth. It looks like you filed a contact us case with us as well and that this issue has since been resolved.

For the reference of anybody that encounters the same issue, APL does have have an "idleTimeout" document setting which allows you to recommend the amount of time that a document should remain on the screen before closing due to inactivity. Per that documentation, this value is a recommendation and it isn't guaranteed that it will be respected in all cases.

https://developer.amazon.com/docs/alexa-presentation-language/apl-document.html#document_settings_property

10 |2000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.