Когда я касаюсь изображения карточки basi c, запускается браузер - PullRequest
0 голосов
/ 03 августа 2020

Я заметил некритическую проблему: когда какой-либо пользователь касается основного c текста или изображения карточки, запускается веб-браузер, показывающий домашнюю страницу Google.

Пример проблемы

Это происходит на мобильных телефонах. Я не знаю, происходит ли это с другими устройствами

это json, на которое отвечает агент:

    {
  "fulfillmentMessages": [
    {
      "platform": "ACTIONS_ON_GOOGLE",
      "simpleResponses": {
        "simpleResponses": [
          {
            "textToSpeech": "10° Celsius is  50° Fahrenheit",
            "displayText": "10° Celsius is  50° Fahrenheit"
          }
        ]
      }
    },
    {
      "basicCard": {
        "title": "Fahrenheit",
        "formattedText": "Daniel Gabriel Fahrenheit, invented the Fahrenheit scale (first widely used, standardized temperature scale) and the mercury thermometer.",
        "image": {
          "imageUri": "https://upload.wikimedia.org/wikipedia/commons/b/bd/Fahrenheit_small.jpg",
          "accessibilityText": "accessibility text"
        },
        "buttons": [
          {
            "title": "Fahrenheit Wikipedia Page",
            "openUriAction": {
              "uri": "https://en.wikipedia.org/wiki/Fahrenheit"
            }
          }
        ]
      },
      "platform": "ACTIONS_ON_GOOGLE"
    },
    {
      "platform": "ACTIONS_ON_GOOGLE",
      "simpleResponses": {
        "simpleResponses": [
          {
            "textToSpeech": "Would you like to know what this temperature is in Kelvin or Rankine?",
            "displayText": "Would you like to know what this temperature is in Kelvin or Rankine?"
          }
        ]
      }
    },
    {
      "suggestions": {
        "suggestions": [
          {
            "title": "Kelvin"
          },
          {
            "title": "Rankine"
          },
          {
            "title": "Cancel"
          }
        ]
      },
      "platform": "ACTIONS_ON_GOOGLE"
    }
  ],
  "outputContexts": [
    {
      "name": "projects/temperatureconvertersamp-877da/agent/sessions/ABwppHGaMZfqBqss3CY7Je_deVIts_RqkSsEt6RSXHwPp-6f4ZoGCYnUZoeiwBVnh3pfL40xQd2ryRZTt3aDk9bgwoS59m-u_AKckqNC/contexts/temperature",
      "lifespanCount": 1,
      "parameters": {
        "temperature": 10,
        "unit": "Celsius"
      }
    }
  ]
}

Заранее спасибо.

...