Closed ShobhitAd closed 2 years ago
Currently, the textFields and imageFields params are missing from the display capabilites for WEB_VIEW. The following capabilities should be added for WEB_VIEW in display_capabilities.js
textFields
imageFields
display_capabilities.js
"WEB_VIEW": { "displayCapabilities": { ... "textFields": [ { "name": "templateTitle", "characterSet": "UTF_8", "width": 100, "rows": 1 }, { "name": "alertText1", "characterSet": "UTF_8", "width": 500, "rows": 1 }, { "name": "alertText2", "characterSet": "UTF_8", "width": 500, "rows": 1 }, { "name": "alertText3", "characterSet": "UTF_8", "width": 500, "rows": 1 }, { "name": "scrollableMessageBody", "characterSet": "UTF_8", "width": 500, "rows": 1 }, { "name": "initialInteractionText", "characterSet": "UTF_8", "width": 500, "rows": 1 }, { "name": "audioPassThruDisplayText1", "characterSet": "UTF_8", "width": 500, "rows": 1 }, { "name": "audioPassThruDisplayText2", "characterSet": "UTF_8", "width": 500, "rows": 1 }, { "name": "sliderHeader", "characterSet": "UTF_8", "width": 500, "rows": 1 }, { "name": "sliderFooter", "characterSet": "UTF_8", "width": 500, "rows": 1 } ], "imageFields": [ { "name": "alertIcon", "imageTypeSupported": [ "GRAPHIC_BMP", "GRAPHIC_JPEG", "GRAPHIC_PNG" ], "imageResolution": { "resolutionWidth": 105, "resolutionHeight": 65 } }, { "name": "choiceImage", "imageTypeSupported": [ "GRAPHIC_BMP", "GRAPHIC_JPEG", "GRAPHIC_PNG" ], "imageResolution": { "resolutionWidth": 64, "resolutionHeight": 64 } }, { "name": "choiceSecondaryImage", "imageTypeSupported": [ "GRAPHIC_BMP", "GRAPHIC_JPEG", "GRAPHIC_PNG" ], "imageResolution": { "resolutionWidth": 64, "resolutionHeight": 64 } }, { "name": "cmdIcon", "imageTypeSupported": [ "GRAPHIC_BMP", "GRAPHIC_JPEG", "GRAPHIC_PNG" ], "imageResolution": { "resolutionWidth": 64, "resolutionHeight": 64 } }, { "name": "subMenuIcon", "imageTypeSupported": [ "GRAPHIC_BMP", "GRAPHIC_JPEG", "GRAPHIC_PNG" ], "imageResolution": { "resolutionWidth": 64, "resolutionHeight": 64 } }, { "name": "menuCommandSecondaryImage", "imageTypeSupported": [ "GRAPHIC_BMP", "GRAPHIC_JPEG", "GRAPHIC_PNG" ], "imageResolution": { "resolutionWidth": 105, "resolutionHeight": 65 } }, { "name": "menuSubMenuSecondaryImage", "imageTypeSupported": [ "GRAPHIC_BMP", "GRAPHIC_JPEG", "GRAPHIC_PNG" ], "imageResolution": { "resolutionWidth": 105, "resolutionHeight": 65 } }, { "name": "subtleAlertIcon", "imageTypeSupported": [ "GRAPHIC_BMP", "GRAPHIC_JPEG", "GRAPHIC_PNG" ], "imageResolution": { "resolutionWidth": 105, "resolutionHeight": 65 } } ], ... } }
Closed via https://github.com/smartdevicelink/sdl_hmi/pull/688
Currently, the
textFields
andimageFields
params are missing from the display capabilites for WEB_VIEW. The following capabilities should be added for WEB_VIEW indisplay_capabilities.js