Open Aniruddha-Shriwant opened 3 years ago
The images are pushed to this repository so you can use their respective links only.
The images are pushed to this repository so you can use their respective links only.
As suggested, I had used this link: https://github.com/accordproject/cicero-word-add-in/blob/master/assets/ap-32.png
The hosting requirements for manifest URL's are stated here
tl;dr
All image URIs, such as those used for add-in commands, must support caching. The server hosting the image should not return a
Cache-Control
header specifyingno-cache
,no-store
, or similar options in the HTTP response.
Hence to experiment I used this link : https://cdn4.iconfinder.com/data/icons/32x32-free-design-icons/32/Info.png
Bug Report 🐛
When
npm run validate
is run, It gives the following message:The
manifest.xml
is not valid because of the error of the Icon URL which is from the localhostExpected Behavior
After running the
npm run validate
command, the validation should be passedCurrent Behavior
It fails due to LocalHost Icon URL error
Possible Solution
A possible solution might be hosting those logo's on the server and then using a link similar to this:
"https://LoremIspum/Images/ap-16.png"
for Icon URLSteps to Reproduce
npm run validate
Context (Environment)
Although this is not causing any issues right now, but since we want to publish Add-in in MS-Word's catalog, the manifest.xml should be valid and this issue should be fixed beforehand.
Desktop