In the code below, Alexa responds the way I would expect as defined in this doc but Google Assistant doesn’t work as expected. Could someone help me troubleshoot why
WhatIsIt() {
if(this.isGoogleAction()){
const availableSurfaces = this.$googleAction.hasWebBrowserInterface();
if (!availableSurfaces) {
this.followUpState('ANYWHERECARE_STATE.AnywhereCareVideo')
this.$googleAction.newSurface(
['actions.capability.SCREEN_OUTPUT'],
this.t('WhatIsIt'),
'Using UPMC Anywhere Care Virtual Visits')
} else {
this.followUpState('ANYWHERECARE_STATE.AnywhereCareVideo')
this.$speech.addText(this.t('WhatIsIt'))
.addText('Would you like me to send a link to your device ?')
this.ask(this.$speech)
}
} else {
this.followUpState('ANYWHERECARE_STATE.AnywhereCareVideo')
this.$speech.addText(this.t('WhatIsIt'))
.addText('Would you like the video information ?')
this.ask(this.$speech)
}
},
AnywhereCareVideo: {
YesIntent() {
let title = 'Using UPMC Anywhere Care Virtual Visits';
let content = 'https://www.youtube.com/watch?v=QvF23V0AkRU';
if(this.isGoogleAction()){
this.$googleAction.showLinkOutSuggestion(title, content);
this.$googleAction.displayText(title).tell('Great! Click on the link below!')
} else {
this.$alexaSkill.showSimpleCard(title, content);
}
},
NoIntent() {
this.ask(this.t('UniversalNo'));
}
},