Screen detection

HI
I use the code hasDisplay = voiceflow.capabilities && (‘Alexa.Presentation.APL’ in voiceflow.capabilities);

To detect if the device has a screen, up till now it has worked well. As of a few days ago I now get the error Voiceflow is not defined.

Any help received would be thankful.

Did you test on Voiceflow’s prototype or test simulator on Alexa Developer Console?

That code only works on ADC.

1 Like

ahh ok that would be the problem then Thanks.