My skill starts playing an educational video after it has been launched but the skill doesn't show the home screen after the video ends. I set the sessionEnd to true in the LaunchRequest response but Amazon Alexa test is displayed after the video ends. I'm using APL document to play the video.
My response is structured as follows:
handlerInput.getResponseBuilder() .withSpeech("") .addDirective(documentDirective) //APL directive and json doc. .withShouldEndSession(true) .build();
Is there anything I'm missing which would end skill after video and show the home screen?