Home cards only showing in the alexa.amazon.com site, not in phone app or echo spot, is this normal?


#1

Greetings all, i have been using the showSimpleCard method to send a card to the user and as i have been seeing the card in the www.alexa.amazon.com site i thought it was working well but when i check on the home app, the card is not shown there like the permissions cards are… is this normal? Do the showSimpleCard show the card in every platform?

Thanks in advance


#2

I think Amazon moved home cards from the home screen to “Activity,” did you check there, too?


#3

Will do, sorry i didn’t check this earlier. Thanks @jan !


#4

Hello @jan, i did check this and you are right, cards are being shown on “Activity”. Now, I am sending two images like this:

this.showImageCard('Card Title', ' Card Content', {
        smallImageUrl: 'https://via.placeholder.com/720x480',
        largeImageUrl: 'https://via.placeholder.com/1200x800',
    })
    .tell('Hello World!');

But Jovo is transforming it into this:

"card": {
		"type": "Standard",
		"image": {
			"smallImageUrl": {
				"smallImageUrl": 'https://via.placeholder.com/720x480',,
				"largeImageUrl": 'https://via.placeholder.com/1200x800'
			},
			"largeImageUrl": {
				"smallImageUrl": 'https://via.placeholder.com/720x480',,
				"largeImageUrl": 'https://via.placeholder.com/1200x800'
			}
		},
		"title": "Card Title",
		"text": "Card Content"
	}

Meaning, it’s adding both image’s urls to the small and larde Image url and Alexa is ending with an exception.

If i send only one image url it works.

Is there any known issue with this? Am i using it correctly?

Thanks in advance.